From 94c451990e9f4f6f82c6673a6394c8b56dc7a159 Mon Sep 17 00:00:00 2001 From: prime31 Date: Thu, 13 Aug 2020 12:20:06 -0700 Subject: [PATCH] Create ci.yml --- zig-ecs/.github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 zig-ecs/.github/workflows/ci.yml 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