From 51b429b408a8dba60a7e54783df22e1c2f1f479c Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Sat, 4 Nov 2023 13:41:07 +0100 Subject: [PATCH] Test SDL build --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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: