Skip to content

Commit

Permalink
add ci for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matu3ba committed Apr 23, 2024
1 parent cc25a6d commit dfb17f9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: ci

on:
push:
branches:
- master
pull_request:

concurrency:
# Cancels pending runs when a PR gets updated.
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
cancel-in-progress: true

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
timeout-minutes: 30
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- uses: goto-bus-stop/setup-zig@v2
with:
version: master
cache: false

- run: zig env

- name: Run zig fmt
run: zig fmt --check .

- name: Run Tests
run: zig build inttest --summary all

0 comments on commit dfb17f9

Please sign in to comment.