From 4c87f35de3fd145300604709e32d130ac2abaadf Mon Sep 17 00:00:00 2001 From: Matheus Catarino Date: Tue, 24 Sep 2024 17:04:08 -0300 Subject: [PATCH] enable ci/cd test --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..13f6a99 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file