-
Notifications
You must be signed in to change notification settings - Fork 61
32 lines (32 loc) · 1 KB
/
artifact.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Artifacts
on: [pull_request, workflow_dispatch]
jobs:
test:
strategy:
matrix:
arch: [x86_64]
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0
- run: |
zig build ci --summary all
- if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/upload-artifact@v4
with:
name: zigup-archives
path: |
zig-out/zigup-x86_64-linux.tar.gz
zig-out/zigup-x86_64-macos.tar.gz
zig-out/zigup-x86_64-windows.zip
zig-out/zigup-aarch64-linux.tar.gz
zig-out/zigup-aarch64-macos.tar.gz
zig-out/zigup-aarch64-windows.zip
zig-out/zigup-arm-linux.tar.gz
zig-out/zigup-riscv64-linux.tar.gz
zig-out/zigup-powerpc-linux.tar.gz
zig-out/zigup-powerpc64le-linux.tar.gz