Skip to content

Commit

Permalink
Add GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
judofyr committed Aug 3, 2024
1 parent 7250d8e commit e4be71a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Tests"

on:
push:
schedule:
- cron: "0 3 * * 5"
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: mlugg/setup-zig@v1
- name: Formatting
run: zig fmt --check src/*.zig
- name: Build executable
run: zig build
- name: Run small benchmark
run: ./zig-out/bin/spice-example -n 10000 --baseline -t 2

0 comments on commit e4be71a

Please sign in to comment.