Test SDL build

This commit is contained in:
Milan Nikolic 2023-11-04 13:41:07 +01:00
parent 6180532752
commit 51b429b408
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75

View file

@ -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: