Test RGFW
This commit is contained in:
parent
7c4c1eed60
commit
6031600b18
1 changed files with 21 additions and 0 deletions
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
|
@ -80,6 +80,27 @@ jobs:
|
||||||
run: go build -tags sdl
|
run: go build -tags sdl
|
||||||
working-directory: raylib
|
working-directory: raylib
|
||||||
|
|
||||||
|
test-rgfw:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
go-version: [1.21.x]
|
||||||
|
os: [ubuntu-latest, macos-latest, windows-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 libxi-dev libxinerama-dev libxcursor-dev libxrandr-dev libgl1-mesa-dev libxkbcommon-dev
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
- name: Build
|
||||||
|
run: go build -tags rgfw
|
||||||
|
working-directory: raylib
|
||||||
|
|
||||||
test-examples:
|
test-examples:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue