diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26e9345..decbcba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,6 +40,26 @@ jobs: run: go test -race -vet=off ./... working-directory: raylib + test-sdl: + strategy: + matrix: + go-version: [1.19.x] + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Install Go + uses: actions/setup-go@v3 + with: + go-version: ${{ matrix.go-version }} + - name: Checkout code + uses: actions/checkout@v3 + - name: Install package + run: | + sudo apt-get update -y; sudo apt-get -y install libgl1-mesa-dev libsdl2-dev + - name: Build + run: go build -tags sdl + working-directory: raylib + test-examples: strategy: matrix: