From aa149f8c494d4e63a39ba4e979ae80a6cd3953da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Tue, 12 Nov 2024 14:26:16 +0100 Subject: [PATCH] Remove ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION --- .github/workflows/c.yaml | 41 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/.github/workflows/c.yaml b/.github/workflows/c.yaml index 0f802381d..6edc11df2 100644 --- a/.github/workflows/c.yaml +++ b/.github/workflows/c.yaml @@ -12,30 +12,30 @@ on: - "c/**" - .github/workflows/c.yaml jobs: - ubuntu-lts: - strategy: matrix: - build_type: [ "Debug", "Release" ] - compiler: [ - { c: "gcc-6", cxx: "g++-6", package: "gcc-6 g++-6" }, - { c: "clang-6.0", cxx: "clang++-6.0", package: "clang-6.0" } - ] - build_shared_libraries: [ true, false ] - exclude: [ - { build_type: "Debug", compiler: { c: "gcc-6", cxx: "g++-6" }, build_shared_libraries: false } - ] + build_type: ["Debug", "Release"] + compiler: + [ + { c: "gcc-6", cxx: "g++-6", package: "gcc-6 g++-6" }, + { c: "clang-6.0", cxx: "clang++-6.0", package: "clang-6.0" }, + ] + build_shared_libraries: [true, false] + exclude: + [ + { + build_type: "Debug", + compiler: { c: "gcc-6", cxx: "g++-6" }, + build_shared_libraries: false, + }, + ] name: "Ubuntu 18.04 (Build: ${{ matrix.build_type }}, Compilers: ${{ matrix.compiler.c }}/${{ matrix.compiler.cxx }}, Shared Library: ${{ matrix.build_shared_libraries }})" runs-on: ubuntu-latest container: ubuntu:18.04 - env: - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true - steps: - - name: Setup run: | apt-get -qq update @@ -64,7 +64,7 @@ jobs: -DBUILD_EXAMPLES=true - name: Build - run: cmake --build build --parallel + run: cmake --build build --parallel - name: Example run: cmake --build build --parallel --target examples @@ -112,7 +112,6 @@ jobs: cmake -S c/test_package -B c/test_package/build -DCMAKE_PREFIX_PATH="${{ github.workspace }}/install" cmake --build c/test_package/build - big-endian: name: Test Big Endian runs-on: ubuntu-20.04 @@ -155,7 +154,6 @@ jobs: run: | bazel test //... - asan: name: ASAN runs-on: ubuntu-20.04 @@ -176,7 +174,6 @@ jobs: run: | bazel test --config=asan //... - ubsan: name: UBSAN runs-on: ubuntu-20.04 @@ -197,12 +194,11 @@ jobs: run: | bazel test --config=ubsan //... - windows-2019: strategy: matrix: - generator: [ "MinGW Makefiles", "Visual Studio 16 2019" ] - build_shared_libraries: [ true, false ] + generator: ["MinGW Makefiles", "Visual Studio 16 2019"] + build_shared_libraries: [true, false] name: "Windows 2019 (Generator: ${{ matrix.generator }}, Shared Library: ${{ matrix.build_shared_libraries }})" runs-on: windows-2019 steps: @@ -237,4 +233,3 @@ jobs: run: | cmake -G "${{ matrix.generator }}" -S c/test_package -B c/test_package/build -DCMAKE_PREFIX_PATH="${{ github.workspace }}/install" cmake --build c/test_package/build -