Skip to content

Commit

Permalink
CI: update zig version
Browse files Browse the repository at this point in the history
  • Loading branch information
foxnne committed Dec 9, 2024
1 parent dabd8a6 commit 2580344
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: 2024.5.0-mach
version: 2024.10.0-mach
mirror: 'https://pkg.machengine.org/zig'
- name: Get GTK3
run: sudo apt install libgtk-3-dev
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: 2024.5.0-mach
version: 2024.10.0-mach
mirror: 'https://pkg.machengine.org/zig'
- name: Build
run: zig build
Expand All @@ -72,32 +72,32 @@ jobs:
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: 2024.5.0-mach
version: 2024.10.0-mach
mirror: 'https://pkg.machengine.org/zig'
- name: build
run: zig build -Duse_sysgpu=true
run: zig build
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: arm64-macos
path: zig-out/bin
x86_64-macos:
runs-on: macos-12
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
# to the branch.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: 2024.5.0-mach
mirror: 'https://pkg.machengine.org/zig'
- name: Build
run: zig build -Duse_sysgpu=true
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: x86_64-macos
path: zig-out/bin
# x86_64-macos:
# runs-on: macos-12
# # We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
# # to the branch.
# if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Setup Zig
# uses: mlugg/setup-zig@v1
# with:
# version: 2024.5.0-mach
# mirror: 'https://pkg.machengine.org/zig'
# - name: Build
# run: zig build -Duse_sysgpu=true
# - name: Upload Artifacts
# uses: actions/upload-artifact@v4
# with:
# name: x86_64-macos
# path: zig-out/bin

0 comments on commit 2580344

Please sign in to comment.