Skip to content

Commit 7332e82

Browse files
committed
feat: add GitHub Actions workflow for compile checks
1 parent 64d3d47 commit 7332e82

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/build_compile_tests_and_bindgen_smoke.yml renamed to .github/workflows/compile_checks.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Build Compile Tests And Bindgen Smoke'
1+
name: 'Compile Checks'
22

33
on:
44
push:
@@ -8,23 +8,23 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
build-and-test:
12-
name: 'Build compile tests and bindgen smoke'
11+
compile_checks:
12+
name: 'Compile checks'
1313
runs-on: ubuntu-24.04
1414

1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v6
1818

19-
- name: Install GCC 16 + Ninja
19+
- name: Install GCC 16.1 toolchain
2020
run: |
2121
sudo apt-get update -qq
2222
sudo apt-get install -y software-properties-common
2323
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
2424
sudo apt-get update -qq
25-
sudo apt-get install -y gcc-16 g++-16 ninja-build
25+
sudo apt-get install -y gcc-16 g++-16 ninja-build cmake
2626
27-
- name: Show tool versions
27+
- name: Show toolchain versions
2828
run: |
2929
cmake --version
3030
ninja --version
@@ -38,14 +38,10 @@ jobs:
3838
-DCMAKE_C_COMPILER=gcc-16 \
3939
-DCMAKE_CXX_COMPILER=g++-16
4040
41-
- name: Build compile tests
41+
- name: Build compile checks
4242
run: |
4343
cmake --build build/ci --target cpp_core_compile_tests
4444
45-
- name: Run bindgen smoke test
46-
run: |
47-
cmake --build build/ci --target cpp_core_bindgen_smoke
48-
4945
- name: Run CTest if registered tests exist
5046
run: |
5147
ctest --test-dir build/ci --output-on-failure --no-tests=ignore

0 commit comments

Comments
 (0)