Support True and False in compile-time if statements #644
Workflow file for this run
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
# TODO: disabled for now because freezes with no output for some reason. | |
# Started happening in #562, so it has something to do with self-hosted compiler. | |
# | |
# TODO: don't use an action for this? could we instead install qemu from apt and call it? | |
- if: false | |
uses: cross-platform-actions/[email protected] | |
env: | |
PKG_PATH: 'https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All' | |
with: | |
operating_system: netbsd | |
version: '10.0' | |
environment_variables: PKG_PATH | |
run: | | |
sudo pkgin -y install clang libLLVM gmake diffutils && \ | |
gmake && \ | |
./runtests.sh --verbose --stage1 && \ | |
./runtests.sh --verbose --stage2 && \ | |
./runtests.sh --verbose && \ | |
./runtests.sh --verbose --jou-flags "--verbose" && \ | |
gmake clean && \ | |
./doctest.sh |