Test SDL build
This commit is contained in:
parent
6180532752
commit
51b429b408
1 changed files with 20 additions and 0 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue