From c60f7655010c55baed47be9e1d27d470abe1ab74 Mon Sep 17 00:00:00 2001 From: Jan Orend <56254096+3dJan@users.noreply.github.com> Date: Fri, 3 Nov 2023 10:13:25 +0100 Subject: [PATCH 1/2] [build.yml] Using latest runner for macos and linux --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d0f96eba..6a1a3af5e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ on: [push, pull_request] name: Build jobs: build-linux: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - run: sudo apt install -y valgrind uuid-dev - uses: actions/checkout@v2 @@ -25,7 +25,7 @@ jobs: name: bindings.zip path: build/bindings.zip build-macos: - runs-on: macos-10.15 + runs-on: macos-latest steps: - uses: actions/checkout@v2 with: @@ -42,7 +42,7 @@ jobs: path: build/lib3mf.dylib codecoverage-macos: - runs-on: macos-10.15 + runs-on: macos-latest steps: - uses: actions/checkout@v2 with: @@ -139,7 +139,7 @@ jobs: - run: ctest -V working-directory: ./build assemble-sdk: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest needs: [build-windows-release, build-linux, build-macos] steps: - run: sudo apt install -y zip unzip @@ -161,7 +161,7 @@ jobs: name: lib3mf_sdk.zip path: build/lib3mf_sdk.zip deploy-linux: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest needs: [assemble-sdk] steps: - run: sudo apt install -y zip unzip @@ -213,7 +213,7 @@ jobs: cmake --build . --config Release ./Release/Example_ExtractInfo.exe ../../Files/Helix.3mf deploy-macos: - runs-on: macos-10.15 + runs-on: macos-latest needs: [assemble-sdk] steps: - name: Download lib3mf_sdk artifact From 0cf258f5cb89fb98bafca21079a4db5f736452d2 Mon Sep 17 00:00:00 2001 From: Jan Orend <56254096+3dJan@users.noreply.github.com> Date: Fri, 3 Nov 2023 10:16:38 +0100 Subject: [PATCH 2/2] [build.yml] Don't fail cli if codecoverage fails --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a1a3af5e..6d6c68d30 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,7 +65,7 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: ./build/Test_CPP_Bindings_filtered.info - fail_ci_if_error: true # optional (default = false) + fail_ci_if_error: false # optional (default = false) verbose: true # optional (default = false) build-windows-release: