Test Wayland build
This commit is contained in:
parent
211d960bdd
commit
4ad2d2748d
1 changed files with 20 additions and 0 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -80,6 +80,26 @@ jobs:
|
||||||
run: go build -tags sdl
|
run: go build -tags sdl
|
||||||
working-directory: raylib
|
working-directory: raylib
|
||||||
|
|
||||||
|
test-wayland:
|
||||||
|
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 libwayland-dev libxkbcommon-dev
|
||||||
|
- name: Build
|
||||||
|
run: go build -tags wayland
|
||||||
|
working-directory: raylib
|
||||||
|
|
||||||
test-examples:
|
test-examples:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue