Skip to content

Commit

Permalink
ci: add gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerinthenight committed Sep 10, 2024
1 parent cc588a0 commit 8fb83ee
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: main

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
name: Build
if: "!contains(github.event.commits[0].message, 'ci skip')"
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0
- run: zig build test

0 comments on commit 8fb83ee

Please sign in to comment.