Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(ci): update actions & llvm #210

Merged
merged 2 commits into from
Jun 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
build-windows:
name: Build Windows
runs-on: windows-latest
runs-on: windows-2022
strategy:
fail-fast: false
matrix:
Expand All @@ -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/[email protected]
Expand All @@ -64,15 +64,15 @@ 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: |
build/bin/${{matrix.arch}}/${{matrix.config}}/gsc-tool.exe

build-macos:
name: Build macOS
runs-on: macos-13
runs-on: macos-14
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -116,15 +116,15 @@ 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: |
build/bin/${{matrix.arch}}/${{matrix.config}}/gsc-tool

build-linux:
name: Build Linux
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -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'
Expand All @@ -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: |
Expand All @@ -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: |
Expand Down
Loading