Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arrufat committed Apr 13, 2024
1 parent 9676958 commit 822726b
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: CI - Zignal

on:
push:
paths:
- ".github/workflows/ci.yml"
- "**.zig"
- "**.zon"
pull_request:
paths:
- ".github/workflows/ci.yml"
- "**.zig"
- "**.zon"

jobs:
test:
strategy:
matrix:
include:
- zig-version: master

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Grab Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ matrix.zig-version }}

- name: Native modules
run: |
make native
- name: Linux modules
run: |
make linux
- name: macOS modules
run: |
make macos
- name: Windows modules
run: |
make windows
- name: WebAssembly modules
run: |
make wasm
- name: Tests master
run: |
make test

0 comments on commit 822726b

Please sign in to comment.