Skip to content

Commit

Permalink
Add a CI step to check if the game compiles on Linux and Windows (#956)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
IntegratedQuantum authored Jan 24, 2025
1 parent a0d015a commit 2b3f56a
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow that is manually triggered

name: Format Check
name: CI

on:
push:
Expand All @@ -9,14 +9,26 @@ on:
branches: [ "master" ]

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:
runs-on: ubuntu-latest
name: Format Check

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Check Format
run: python3 "format_check.py"
- run: python3 "format_check.py"

0 comments on commit 2b3f56a

Please sign in to comment.