Skip to content

Commit

Permalink
enable ci/cd test
Browse files Browse the repository at this point in the history
  • Loading branch information
kassane committed Sep 24, 2024
1 parent 0b2f63d commit 4c87f35
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Zig build

on: [push]

jobs:
build:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Download & Extract packages
run: |
curl -LO https://github.com/kassane/zig-mos-bootstrap/releases/download/0.2/zig-mos-x86_64-linux-musl-baseline.tar.xz
tar -xf zig-mos-x86_64-linux-musl-baseline.tar.xz
echo "$PWD/zig-mos-x86_64-linux-musl-baseline" >> $GITHUB_PATH
- name: Build
run: zig build rtsan -Dtests --summary all -freference-trace

0 comments on commit 4c87f35

Please sign in to comment.