Examples #114
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: Examples | |
on: | |
push: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 20 * * * | |
env: | |
FORCE_COLOR: "1" | |
jobs: | |
examples: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: laytan/setup-odin@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: manual | |
run: odin run examples/manual -vet -strict-style | |
- name: manual debug | |
run: odin run examples/manual -vet -strict-style -debug | |
- name: allocator | |
run: odin run examples/allocator -vet -strict-style | |
- name: allocator debug | |
run: odin run examples/allocator -vet -strict-style -debug |