Skip to content

Commit

Permalink
[gccjit][ci] add run tests step to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancern committed Oct 28, 2024
1 parent 7e4f7d1 commit 0636227
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@ jobs:
- name: Install build tools and libraries
run: |
sudo apt-get update
sudo apt-get install -y gcc-14 g++-14 cmake ninja-build llvm-18-dev libmlir-18-dev libgccjit-14-dev mlir-18-tools
sudo apt-get install -y gcc-14 g++-14 cmake ninja-build llvm-18-dev libmlir-18-dev \
libgccjit-14-dev mlir-18-tools python3 python3-pip
pip install lit
- name: Build
run: |
cmake -B build -G Ninja -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 .
cmake --build build
cmake --build build --target gccjit-tools
- name: Run tests
run: |
cmake --build build --target check

0 comments on commit 0636227

Please sign in to comment.