Skip to content

rework ci

rework ci #241

Workflow file for this run

name: Artifacts
on: [pull_request]
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@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.12.0
- run: |
zig build ci
- uses: actions/upload-artifact@v2
with:
name: zigup ${{ matrix.os }}-${{ matrix.arch }}
path: zig-out/bin/*
- if: ${{ matrix.os == 'windows-latest' }}
uses: actions/upload-artifact@v4
with:
name: zigup x86_64-windows
path: zig-out/zigup-x86_64-windows.zip