Skip to content

Commit 1286805

Browse files
Update Github actions to (hopefully) fix testing
1 parent 03b455d commit 1286805

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/cmake_ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
18-
os: [ubuntu-20.04]
18+
os: [ubuntu-24.04]
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -49,7 +49,7 @@ jobs:
4949
- name: Build
5050
shell: bash
5151
working-directory: ${{github.workspace}}/build
52-
run: cmake --build . --config ${{env.BUILD_TYPE}}
52+
run: cmake --build . --config ${{env.BUILD_TYPE}} -DBUILD_TESTING=ON
5353

5454
- name: run test (Linux)
5555
working-directory: ${{github.workspace}}/build

.github/workflows/cmake_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Build
4545
working-directory: ${{github.workspace}}/build
4646
shell: bash
47-
run: cmake --build . --config ${{env.BUILD_TYPE}}
47+
run: cmake --build . --config ${{env.BUILD_TYPE}} -DBUILD_TESTING=ON
4848

4949
- name: run test (Windows)
5050
working-directory: ${{github.workspace}}/build

pixi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test = "PATH=\"$PATH;build/Release\" build/tests/Release/behaviortree_cpp_test.e
1313
test = "./build/tests/behaviortree_cpp_test"
1414

1515
[tasks]
16-
build = "mkdir -p build && cd build && cmake ../ -DCMAKE_BUILD_TYPE=Release && cmake --build . --parallel --config Release"
16+
build = "mkdir -p build && cd build && cmake ../ -DCMAKE_BUILD_TYPE=Release && cmake --build . --parallel --config Release --DBUILD_TESTING=ON"
1717

1818
[dependencies]
1919
cmake = ">=3.16.3"

0 commit comments

Comments
 (0)