Add a CI step to check if the game compiles on Linux and Windows (#956)

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* oops

* Update assets.zig
This commit is contained in:
IntegratedQuantum 2025-01-24 18:12:52 +01:00 committed by GitHub
parent a0d015a07a
commit 2b3f56a33c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
# This is a basic workflow that is manually triggered # This is a basic workflow that is manually triggered
name: Format Check name: CI
on: on:
push: push:
@ -9,8 +9,21 @@ on:
branches: [ "master" ] branches: [ "master" ]
jobs: jobs:
compile:
runs-on: ubuntu-latest
name: Compilation Check
steps:
- uses: actions/checkout@v3
- uses: mlugg/setup-zig@v1
with:
version: 0.14.0-dev.1550+4fba7336a
- run: sudo apt install libgl-dev libasound2-dev libx11-dev
- run: zig build
- run: zig build -Dtarget=x86_64-windows-gnu
format_check: format_check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Format Check
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -18,5 +31,4 @@ jobs:
uses: actions/setup-python@v3 uses: actions/setup-python@v3
with: with:
python-version: "3.10" python-version: "3.10"
- name: Check Format - run: python3 "format_check.py"
run: python3 "format_check.py"