From 95bded005424419e3b9592c1b8a168e15e4b0594 Mon Sep 17 00:00:00 2001 From: qimingchu Date: Thu, 9 May 2024 02:06:59 +0000 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..336378e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: + push: + branches: + - master + - dev +jobs: + build: + strategy: + fail-fast: false + matrix: + zig: [ 0.12.0, master ] + os: [ ubuntu-latest, windows-latest, macos-latest ] + runs-on: ${{ matrix.os }} + name: Zig ${{ matrix.zig }} on ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - name: Setup Zig + uses: korandoru/setup-zig@v1 + with: + zig-version: ${{ matrix.zig }} + - run: zig build