diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 14218cf..ebcae7d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: