From a259aa4bb99d2f7600818f2b3e6b76eeb15f5693 Mon Sep 17 00:00:00 2001 From: xensik Date: Tue, 25 Jun 2024 20:04:47 +0200 Subject: [PATCH 1/2] build(ci): update actions & llvm --- .github/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 51f15154..9aef608d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,7 @@ jobs: lfs: false - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.3.1 + uses: microsoft/setup-msbuild@v2 - name: Add premake5 to PATH uses: abel0b/setup-premake@v2.3 @@ -64,7 +64,7 @@ jobs: run: msbuild /m /v:minimal /p:Configuration=${{matrix.config}} /p:Platform=${{matrix.platform}} build/gsc-tool.sln - name: Upload ${{matrix.arch}} ${{matrix.config}} binaries - uses: actions/upload-artifact@v3.1.3 + uses: actions/upload-artifact@v4.3.3 with: name: windows-${{matrix.arch}}-${{matrix.config}} path: | @@ -116,7 +116,7 @@ jobs: make config=${{matrix.config}}_${{matrix.arch}} -j$(sysctl -n hw.logicalcpu) - name: Upload ${{matrix.arch}} ${{matrix.config}} binaries - uses: actions/upload-artifact@v3.1.3 + uses: actions/upload-artifact@v4.3.3 with: name: macos-${{matrix.arch}}-${{matrix.config}} path: | @@ -145,7 +145,7 @@ jobs: run: | wget https://apt.llvm.org/llvm.sh chmod +x llvm.sh - sudo ./llvm.sh 17 + sudo ./llvm.sh 18 # - name: Install dependencies (arm64) # if: matrix.arch == 'arm64' @@ -167,11 +167,11 @@ jobs: pushd build make config=${{matrix.config}}_${{matrix.arch}} -j$(nproc) env: - CC: clang-17 - CXX: clang++-17 + CC: clang-18 + CXX: clang++-18 - name: Upload ${{matrix.arch}} ${{matrix.config}} binaries - uses: actions/upload-artifact@v3.1.3 + uses: actions/upload-artifact@v4.3.3 with: name: linux-${{matrix.arch}}-${{matrix.config}} path: | @@ -192,7 +192,7 @@ jobs: sparse-checkout-cone-mode: false - name: Download Binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.7 - name: Compress Binaries run: | From b7d6361243947449105e41ecda423aef1dac7ec5 Mon Sep 17 00:00:00 2001 From: xensik Date: Tue, 25 Jun 2024 20:31:53 +0200 Subject: [PATCH 2/2] bump runners --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9aef608d..40a9fa9e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ env: jobs: build-windows: name: Build Windows - runs-on: windows-latest + runs-on: windows-2022 strategy: fail-fast: false matrix: @@ -72,7 +72,7 @@ jobs: build-macos: name: Build macOS - runs-on: macos-13 + runs-on: macos-14 strategy: fail-fast: false matrix: @@ -124,7 +124,7 @@ jobs: build-linux: name: Build Linux - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: