From ca6744ee543bdaff353120e36452fe7d978f9f45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xenxo=20Espasand=C3=ADn?= Date: Tue, 25 Jun 2024 20:50:16 +0200 Subject: [PATCH] build(ci): update actions & llvm (#210) --- .github/workflows/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 51f15154..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: @@ -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: | @@ -72,7 +72,7 @@ jobs: build-macos: name: Build macOS - runs-on: macos-13 + runs-on: macos-14 strategy: fail-fast: false matrix: @@ -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: | @@ -124,7 +124,7 @@ jobs: build-linux: name: Build Linux - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: @@ -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: |