From 26323c6f1692c64305e61f2a2d95c6c6c0c7720e Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Sun, 6 Oct 2019 17:15:18 +0200 Subject: Update main.yml --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml (limited to '.github/workflows/main.yml') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..93d00fc --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: CI +on: push +jobs: + test: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{matrix.os}} + steps: + - uses: actions/checkout@v1 + with: + submodules: recursive + - uses: goto-bus-stop/setup-zig@v1.0.0 + with: + version: 0.5.0 + - run: zig build + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: goto-bus-stop/setup-zig@v1.0.0 + with: + version: 0.5.0 + - run: zig fmt --check . -- cgit v1.2.3