Skip to content

Commit

Permalink
add workflow that runs examples
Browse files Browse the repository at this point in the history
  • Loading branch information
laytan committed Dec 30, 2023
1 parent 0b27a7e commit a2051e8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Examples
on:
push:
workflow_dispatch:

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@v1
- uses: laytan/setup-odin@v1

- 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

0 comments on commit a2051e8

Please sign in to comment.