Get command line options only if necessary #659
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: AllTests | |
on: | |
push: | |
branches: | |
- main | |
- actions/** | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: make xcc | |
run: make -j8 all | |
- name: test xcc | |
run: make test | |
- name: test xcc gen2 | |
run: make test-gen2 | |
- name: setup | |
run: | | |
npm ci | |
sudo apt update && sudo apt install llvm-dev | |
- name: make wcc | |
run: make -j8 wcc | |
- name: test wcc | |
run: make test-wcc | |
- name: test wcc gen2 | |
run: make test-wcc-gen2 |