remove zarc in favor us custom unzip implementation #223
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 test -Dci_target=${{matrix.os}}-${{matrix.arch}} | |
- run: | | |
zig build -Dci_target=ubuntu-latest-x86_64 -p zig-out-ubuntu-latest-x86_64 | |
- run: | | |
zig build -Dci_target=ubuntu-latest-aarch64 -p zig-out-ubuntu-latest-aarch64 | |
- run: | | |
zig build -Dci_target=macos-latest-x86_64 -p zig-out-macos-latest-x86_64 | |
- run: | | |
zig build -Dci_target=macos-latest-aarch64 -p zig-out-macos-latest-aarch64 | |
- run: | | |
zig build -Dci_target=windows-latest-x86_64 -p zig-out-windows-latest-x86_64 | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: zigup ${{ matrix.os }}-${{ matrix.arch }} | |
path: zig-out/bin/* | |
- if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: zigup ${{ matrix.os }}-aarch64 | |
path: zig-out-${{matrix.os}}-aarch64/bin/* |