diff --git a/zig-ecs/.github/workflows/ci.yml b/zig-ecs/.github/workflows/ci.yml new file mode 100644 index 0000000..276abaf --- /dev/null +++ b/zig-ecs/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +- name: Setup Zig + uses: goto-bus-stop/setup-zig@v1.2.3 + + +jobs: + test: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{matrix.os}} + steps: + - uses: actions/checkout@v2 + - uses: goto-bus-stop/setup-zig@v1 + - run: zig build test + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: goto-bus-stop/setup-zig@v1 + - run: zig fmt --check src/*.zig