Skip to content

Commit

Permalink
??
Browse files Browse the repository at this point in the history
  • Loading branch information
laytan committed Dec 30, 2023
1 parent fc37c01 commit 195b012
Showing 1 changed file with 49 additions and 3 deletions.
52 changes: 49 additions & 3 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,61 @@ jobs:
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

- name: segfault
shell: bash
run: |
odin run examples/segfault -vet -strict-style
code=$?
if [ code -eq 11 ]; then
exit 0
else
echo "Exit code $code"
exit 1
fi
- name: segfault debug
shell: bash
run: |
odin run examples/segfault -vet -strict-style -debug
code=$?
if [ code -eq 11 ]; then
exit 0
else
echo "Exit code $code"
exit 1
fi
- name: assert
run: odin run examples/assert_backtrace -vet -strict-style
- name: assert debug
run: odin run examples/assert_backtrace -vet -strict-style -debug
shell: bash
run: |
odin run examples/assert_backtrace -vet -strict-style
code=$?
if [ code -eq 11 ]; then
exit 0
else
echo "Exit code $code"
exit 1
fi
- name: assert backtrace debug
shell: bash
run: |
odin run examples/assert_backtrace -vet -strict-style -debug
code=$?
if [ code -eq 11 ]; then
exit 0
else
echo "Exit code $code"
exit 1
fi

0 comments on commit 195b012

Please sign in to comment.