This commit is contained in:
Ben 2021-10-13 15:13:30 +01:00
parent 4cacd04adb
commit 63d9a1ee01
1 changed files with 11 additions and 2 deletions

View File

@ -5,11 +5,20 @@ jobs:
strategy:
matrix:
go-version: [1.16.x, 1.17.x]
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install env dependancies
run: sudo apt-get install -y xorg-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libopenal-dev libasound2-dev libgl1-mesa-dev
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get install -y xorg-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libopenal-dev libasound2-dev libgl1-mesa-dev
elif [ "$RUNNER_OS" == "Windows" ]; then
# choco install important_windows_software
else
echo "$RUNNER_OS not supported"
exit 1
fi
shell: bash
- name: Install Go
uses: actions/setup-go@v2
with: