diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b39fd15..69fadfd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ # This is a basic workflow that is manually triggered -name: Format Check +name: CI on: push: @@ -9,8 +9,21 @@ 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 @@ -18,5 +31,4 @@ jobs: uses: actions/setup-python@v3 with: python-version: "3.10" - - name: Check Format - run: python3 "format_check.py" + - run: python3 "format_check.py"