Skip to content

Commit

Permalink
Update CI to run test targets individually
Browse files Browse the repository at this point in the history
  • Loading branch information
Lai-YT authored and leewei05 committed Jul 6, 2024
1 parent 763e6e1 commit 7fc353d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
strategy:
matrix:
cxx: [g++, clang++]
test: [typecheck, qbe, llvm]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
Expand All @@ -64,5 +65,7 @@ jobs:
run: scripts/install-fmt.sh
- name: Install Turnt
run: pip install turnt
- name: Run tests
run: make test CXX=${{ matrix.cxx }}
- name: Build
run: make
- name: Run ${{ matrix.test }} test
run: make -C test/ -j test-${{ matrix.test }} CXX=${{ matrix.cxx }}

0 comments on commit 7fc353d

Please sign in to comment.