Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
- run: |
sudo apt-get update && sudo apt-get install -y clang-format
find src include tests -iname '*.cc' | xargs clang-format --dry-run --Werror
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.14.1
- run: zig fmt --check $(git ls-files '*.zig')

static-analysis:
runs-on: ubuntu-latest
Expand All @@ -24,16 +28,13 @@ jobs:

build-test:
runs-on: ubuntu-latest
services:
docker:
image: my_compiler/ci:latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain.cmake ..
cmake --build . -- -j$(nproc)
ctest --output-on-failure
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.14.1
- run: zig build
- run: zig build mod-test

zig-mod-test:
runs-on: ubuntu-latest
Expand Down
Loading