mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-14 03:35:52 +08:00
draco: Update CI configs.
* Use ubuntu-22 and clang-14 for the clang CI test. * Use default gcc on ubuntu-latest builders. * Windows configs skip GltfDecoderTest.TestLoadUnsupportedTexCoordAttributes, see https://github.com/google/draco/issues/938
This commit is contained in:
parent
a5b31570c3
commit
d44cb5bc7d
52
.github/workflows/ci.yml
vendored
52
.github/workflows/ci.yml
vendored
@ -105,8 +105,8 @@ jobs:
|
||||
cmake .. -G "Unix Makefiles" \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=gcc-10 \
|
||||
-DCMAKE_CXX_COMPILER=g++-10 \
|
||||
-DCMAKE_C_COMPILER=gcc \
|
||||
-DCMAKE_CXX_COMPILER=g++ \
|
||||
-DDRACO_TESTS=ON
|
||||
cmake_build_command: cmake --build . -- -j2
|
||||
draco_test_command: ./draco_tests
|
||||
@ -116,8 +116,32 @@ jobs:
|
||||
cmake .. -G "Unix Makefiles" \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=gcc-10 \
|
||||
-DCMAKE_CXX_COMPILER=g++-10 \
|
||||
-DCMAKE_C_COMPILER=gcc \
|
||||
-DCMAKE_CXX_COMPILER=g++ \
|
||||
-DDRACO_TESTS=ON \
|
||||
-DDRACO_TRANSCODER_SUPPORTED=ON
|
||||
cmake_build_command: cmake --build . -- -j2
|
||||
draco_test_command: ./draco_tests
|
||||
|
||||
- test_name: ubuntu22-make-clang14-release-static
|
||||
os: ubuntu-22.04
|
||||
cmake_configure_command: |-
|
||||
cmake .. -G "Unix Makefiles" \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=clang-14 \
|
||||
-DCMAKE_CXX_COMPILER=clang++-14 \
|
||||
-DDRACO_TESTS=ON
|
||||
cmake_build_command: cmake --build . -- -j2
|
||||
draco_test_command: ./draco_tests
|
||||
- test_name: ubuntu22-make-clang14-release-static-with-transcoder
|
||||
os: ubuntu-22.04
|
||||
cmake_configure_command: |-
|
||||
cmake .. -G "Unix Makefiles" \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=clang-14 \
|
||||
-DCMAKE_CXX_COMPILER=clang++-14 \
|
||||
-DDRACO_TESTS=ON \
|
||||
-DDRACO_TRANSCODER_SUPPORTED=ON
|
||||
cmake_build_command: cmake --build . -- -j2
|
||||
@ -129,8 +153,8 @@ jobs:
|
||||
cmake .. -G "Unix Makefiles" \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=gcc-10 \
|
||||
-DCMAKE_CXX_COMPILER=g++-10 \
|
||||
-DCMAKE_C_COMPILER=gcc \
|
||||
-DCMAKE_CXX_COMPILER=g++ \
|
||||
-DDRACO_TESTS=ON
|
||||
cmake_build_command: cmake --build . -- -j2
|
||||
draco_test_command: ./draco_tests
|
||||
@ -140,8 +164,8 @@ jobs:
|
||||
cmake .. -G "Unix Makefiles" \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=gcc-10 \
|
||||
-DCMAKE_CXX_COMPILER=g++-10 \
|
||||
-DCMAKE_C_COMPILER=gcc \
|
||||
-DCMAKE_CXX_COMPILER=g++ \
|
||||
-DDRACO_TESTS=ON \
|
||||
-DDRACO_TRANSCODER_SUPPORTED=ON
|
||||
cmake_build_command: cmake --build . -- -j2
|
||||
@ -165,7 +189,8 @@ jobs:
|
||||
-DDRACO_TESTS=ON \
|
||||
-DDRACO_TRANSCODER_SUPPORTED=ON
|
||||
cmake_build_command: cmake --build . --config Release -- -m:2
|
||||
draco_test_command: Release/draco_tests
|
||||
# TODO(https://github.com/google/draco/issues/938): Flaking on this target.
|
||||
draco_test_command: Release/draco_tests --gtest_filter=-GltfDecoderTest.TestLoadUnsupportedTexCoordAttributes
|
||||
|
||||
- test_name: windows-msvc-release-static
|
||||
os: windows-2019
|
||||
@ -185,7 +210,8 @@ jobs:
|
||||
-DDRACO_TESTS=ON \
|
||||
-DDRACO_TRANSCODER_SUPPORTED=ON
|
||||
cmake_build_command: cmake --build . --config Release -- -m:2
|
||||
draco_test_command: Release/draco_tests
|
||||
# TODO(https://github.com/google/draco/issues/938): Flaking on this target.
|
||||
draco_test_command: Release/draco_tests --gtest_filter=-GltfDecoderTest.TestLoadUnsupportedTexCoordAttributes
|
||||
|
||||
- test_name: windows-make-release-shared
|
||||
os: windows-2019
|
||||
@ -209,7 +235,8 @@ jobs:
|
||||
-DDRACO_TESTS=ON \
|
||||
-DDRACO_TRANSCODER_SUPPORTED=ON
|
||||
cmake_build_command: cmake --build . -- -j2
|
||||
draco_test_command: ./draco_tests
|
||||
# TODO(https://github.com/google/draco/issues/938): Flaking on this target.
|
||||
draco_test_command: ./draco_tests --gtest_filter=-GltfDecoderTest.TestLoadUnsupportedTexCoordAttributes
|
||||
|
||||
- test_name: windows-make-release-static
|
||||
os: windows-2019
|
||||
@ -233,7 +260,8 @@ jobs:
|
||||
-DDRACO_TESTS=ON \
|
||||
-DDRACO_TRANSCODER_SUPPORTED=ON
|
||||
cmake_build_command: cmake --build . -- -j2
|
||||
draco_test_command: ./draco_tests
|
||||
# TODO(https://github.com/google/draco/issues/938): Flaking on this target.
|
||||
draco_test_command: ./draco_tests --gtest_filter=-GltfDecoderTest.TestLoadUnsupportedTexCoordAttributes
|
||||
|
||||
name: test-${{ matrix.test_name }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user