Skip to content

Commit c21528b

Browse files
leochan2009longquanchen
authored andcommitted
Update cmake.yml
ubuntu 20.04 no longer supported disable VP9 build for now as the Action workflow failed in building the library correctly
1 parent 2629393 commit c21528b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/cmake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
os: [ubuntu-20.04, ubuntu-22.04, macos-latest]
22+
os: [macos-latest, ubuntu-24.04, ubuntu-22.04]
2323

2424
steps:
2525
- uses: actions/checkout@v2
2626

2727
- name: Configure CMake
2828
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
2929
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
30-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=OFF -DOpenIGTLink_USE_VP9=ON -DBUILD_TESTING=ON
30+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=OFF -DOpenIGTLink_USE_VP9=OFF -DBUILD_TESTING=ON
3131

3232
- name: Build
3333
# Build your program with the given configuration
@@ -60,7 +60,7 @@ jobs:
6060
- name: Configure CMake
6161
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
6262
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
63-
run: cmake -B ${{github.workspace}}/SuperBuildTest -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=ON -DOpenIGTLink_USE_VP9=ON -DBUILD_TESTING=ON
63+
run: cmake -B ${{github.workspace}}/SuperBuildTest -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=ON -DOpenIGTLink_USE_VP9=OFF -DBUILD_TESTING=ON
6464

6565
- name: Build
6666
# Build your program with the given configuration

0 commit comments

Comments
 (0)