Skip to content

refact(rivet.codegen): skip '@assert' calls in release mode #361

refact(rivet.codegen): skip '@assert' calls in release mode

refact(rivet.codegen): skip '@assert' calls in release mode #361

Workflow file for this run

name: Self-hosted compiler
on:
push:
paths: ['lib/**.ri', 'rivetc/**.py', 'cmd/**.ri']
branches: [main]
pull_request:
paths: ['lib/**.ri', 'rivetc/**.py', 'cmd/**.ri']
types: [opened, synchronize]
jobs:
ubuntu-clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Compile self-hosted compiler
run: |
python3 rivetc -C clang -o rivet cmd/
./rivet version
./rivet build cmd/
./rivet test tests/valid
ubuntu-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Compile self-hosted compiler
run: |
python3 rivetc -C gcc -o rivet cmd/
./rivet version
./rivet build cmd/
./rivet test tests/valid