Migrate from SDL2 to raylib #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-and-test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
zig_version: | |
- latest | |
#- master - not compatible yet | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: mlugg/setup-zig@v1 | |
with: | |
version: ${{ matrix.zig_version }} | |
- name: Install dependencies | |
shell: bash | |
run: | | |
sudo apt-get install libsdl2-dev libsdl2-image-dev libxi-dev | |
# kle tests not triggered from main, | |
# must figure out how to properly zig test | |
- run: | | |
zig build test | |
zig test src/kle.zig |