artifact.yml 1016 B

1234567891011121314151617181920212223242526272829303132
  1. name: Artifacts
  2. on: [pull_request, workflow_dispatch]
  3. jobs:
  4. test:
  5. strategy:
  6. matrix:
  7. arch: [x86_64]
  8. os: [ubuntu-latest, macos-latest, windows-latest]
  9. fail-fast: false
  10. runs-on: ${{matrix.os}}
  11. steps:
  12. - uses: actions/checkout@v4
  13. - uses: mlugg/setup-zig@v1
  14. with:
  15. version: 0.13.0
  16. - run: |
  17. zig build ci --summary all
  18. - if: ${{ matrix.os == 'ubuntu-latest' }}
  19. uses: actions/upload-artifact@v4
  20. with:
  21. name: zigup-archives
  22. path: |
  23. zig-out/zigup-x86_64-linux.tar.gz
  24. zig-out/zigup-x86_64-macos.tar.gz
  25. zig-out/zigup-x86_64-windows.zip
  26. zig-out/zigup-aarch64-linux.tar.gz
  27. zig-out/zigup-aarch64-macos.tar.gz
  28. zig-out/zigup-aarch64-windows.zip
  29. zig-out/zigup-arm-linux.tar.gz
  30. zig-out/zigup-riscv64-linux.tar.gz
  31. zig-out/zigup-powerpc-linux.tar.gz
  32. zig-out/zigup-powerpc64le-linux.tar.gz