From 0888e41cacc98b7cd5471b33cf00bac7f985896b Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Tue, 16 Jan 2024 18:50:34 +0100 Subject: [PATCH 1/4] GHA: Update runner for release to Ubuntu 22.04 Ubuntu 18 was removed --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 599c050..2efff03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: include: - - { compiler: gcc-10, os: ubuntu-18.04 } + - { compiler: gcc-10, os: ubuntu-22.04 } - { compiler: msvc, os: windows-2019 } runs-on: ${{matrix.os}} From 7daa9cffaa901e792e63254fc8e53b08c7261166 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Tue, 16 Jan 2024 18:58:30 +0100 Subject: [PATCH 2/4] GHA: Update runner images for UnitTest workflow --- .github/workflows/unit-tests.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index ede742d..6f70d08 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -23,7 +23,7 @@ jobs: StyleAndFormatting: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: git submodule update --init - name: Validation run: tools/ci/staticValidation.sh "$GITHUB_WORKSPACE" @@ -44,13 +44,13 @@ jobs: strategy: matrix: include: - - { compiler: gcc-6, os: ubuntu-18.04, buildType: Release } - - { compiler: gcc-6, os: ubuntu-18.04, buildType: Debug, coverage: true } - - { compiler: clang, os: macos-10.15, buildType: Debug, boostVersion: 1.74.0 } # Multiple bugs with recent OSX until 1.74 + - { compiler: gcc-7, os: ubuntu-20.04, buildType: Release } + - { compiler: gcc-7, os: ubuntu-20.04, buildType: Debug, coverage: true } + - { compiler: clang, os: macos-13, buildType: Debug, boostVersion: 1.74.0 } # Multiple bugs with recent OSX until 1.74 # Latest GCC - - { compiler: gcc-10, os: ubuntu-18.04, buildType: Debug } + - { compiler: gcc-13, os: ubuntu-22.04, buildType: Debug } # Latest Clang - - { compiler: clang-10, os: ubuntu-18.04, buildType: Debug } + - { compiler: clang-12, os: ubuntu-22.04, buildType: Debug } # Windows - { compiler: msvc, os: windows-2019, buildType: Debug } @@ -64,14 +64,14 @@ jobs: - run: echo "BOOST_VERSION=${{matrix.boostVersion}}" >> $GITHUB_ENV if: matrix.boostVersion - - uses: actions/checkout@v2 - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/checkout@v4 name: Checkout libutil with: repository: Return-To-The-Roots/libutil ref: master path: external/libutil - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 name: Checkout libendian with: repository: Return-To-The-Roots/libendian From a22147c58dbbd41891c4358dfd1401a2f618b613 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Tue, 16 Jan 2024 18:59:26 +0100 Subject: [PATCH 3/4] GHA: Update checkout action version Avoid using deprecated node --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2efff03..6db990a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,14 +49,14 @@ jobs: run: echo "::set-output name=upload_url::https://uploads.github.com/repos/$GITHUB_REPOSITORY/releases/$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)/assets{?name,label}" id: release - - uses: actions/checkout@v2 - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/checkout@v4 name: Checkout libutil with: repository: Return-To-The-Roots/libutil ref: master path: external/libutil - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 name: Checkout libendian with: repository: Return-To-The-Roots/libendian From 012aa14fa0ed6b5d9c2b6af0b2ea68bb33389563 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Tue, 16 Jan 2024 19:19:51 +0100 Subject: [PATCH 4/4] GHA: Use Boost 1.73 on Ubuntu 22 Boost.Thread doesn't build on this system Needs https://github.com/boostorg/thread/commit/74fb0a26099bc51d717f5f154b37231ce7df3e98 --- .github/workflows/unit-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 6f70d08..a61e39b 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -48,9 +48,9 @@ jobs: - { compiler: gcc-7, os: ubuntu-20.04, buildType: Debug, coverage: true } - { compiler: clang, os: macos-13, buildType: Debug, boostVersion: 1.74.0 } # Multiple bugs with recent OSX until 1.74 # Latest GCC - - { compiler: gcc-13, os: ubuntu-22.04, buildType: Debug } + - { compiler: gcc-13, os: ubuntu-22.04, buildType: Debug, boostVersion: 1.73.0 } # Latest Clang - - { compiler: clang-12, os: ubuntu-22.04, buildType: Debug } + - { compiler: clang-12, os: ubuntu-22.04, buildType: Debug, boostVersion: 1.73.0 } # Windows - { compiler: msvc, os: windows-2019, buildType: Debug }