From 4b3827e29f62ed595468b3ae7e83d5bd4ef1c4f7 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Sat, 28 Dec 2024 19:12:06 +0100 Subject: [PATCH] fixup! Migrate to latest GitHub actions --- .github/workflows/ci.yml | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccf32ac7..4f55a155 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,25 +9,25 @@ jobs: fail-fast: false matrix: include: - - description: Windows / Visual Studio - os: windows-2019 - cmakeOptions: '-G "Visual Studio 16 2019" -A x64' + - description: Windows - Visual Studio + os: windows-2022 + cmakeOptions: '-G "Visual Studio 17 2022" -A x64' publish: true - - description: macOS / Xcode - os: macos-13 + - description: macOS - Xcode + os: macos-14 cmakeOptions: '' publish: true - - description: Linux / GCC - os: ubuntu-20.04 - cmakeOptions: '-D CMAKE_C_COMPILER=gcc-10 -D CMAKE_CXX_COMPILER=g++-10' + - description: Linux - GCC + os: ubuntu-24.04 + cmakeOptions: '-D CMAKE_C_COMPILER=gcc-14 -D CMAKE_CXX_COMPILER=g++-14' publish: true - - description: Linux / Clang - os: ubuntu-20.04 - cmakeOptions: '-D CMAKE_C_COMPILER=clang-12 -D CMAKE_CXX_COMPILER=clang++-12' + - description: Linux - Clang + os: ubuntu-24.04 + cmakeOptions: '-D CMAKE_C_COMPILER=clang-18 -D CMAKE_CXX_COMPILER=clang++-18' publish: false env: BOOST_ROOT: ${{ github.workspace }}/lib/boost - BOOST_URL: https://sourceforge.net/projects/boost/files/boost/1.76.0/boost_1_76_0.tar.bz2/download + BOOST_URL: https://sourceforge.net/projects/boost/files/boost/1.86.0/boost_1_86_0.tar.bz2/download steps: - name: Install Deno uses: denoland/setup-deno@v2 @@ -82,9 +82,10 @@ jobs: ./rhubarb/build/runTests fi - name: Upload artifacts - uses: actions/upload-artifact@v3 + if: ${{ matrix.publish }} + uses: actions/upload-artifact@v4 with: - name: binaries + name: 'binaries ${{ matrix.description }}' path: | artifacts/*.zip artifacts/*.tar.gz @@ -95,8 +96,6 @@ jobs: steps: - name: Download artifacts uses: actions/download-artifact@v4 - with: - name: binaries - name: Create GitHub release draft uses: softprops/action-gh-release@v2 with: