Remove usage of never_inline #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Tests" | |
on: | |
push: | |
schedule: | |
- cron: "0 3 * * 5" | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 1 -t 2 -t 4 | |
# According to https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
# `ubuntu-latest` has 4 processes so we expect some speed-up here. |