artifact.yml 968 B

123456789101112131415161718192021222324252627
  1. name: Artifacts
  2. on: [push]
  3. jobs:
  4. test:
  5. strategy:
  6. matrix:
  7. os: [ubuntu-latest, macos-latest, windows-latest]
  8. fail-fast: false
  9. runs-on: ${{matrix.os}}
  10. steps:
  11. - uses: actions/checkout@v2
  12. - uses: goto-bus-stop/setup-zig@v1
  13. with:
  14. version: 0.9.0-dev.927+eb5e4ac49
  15. - run: |
  16. git clone https://github.com/marler8997/ziget ./dep/ziget
  17. git -C ./dep/ziget checkout $(cat zigetsha) -b for_zigup
  18. git clone https://github.com/marler8997/iguanaTLS ./dep/iguanaTLS
  19. git -C ./dep/iguanaTLS checkout $(cat ziget-build-files-copy/iguanasha) -b for_ziget
  20. git clone https://github.com/SuperAuguste/zarc ./dep/zarc
  21. git -C ./dep/zarc checkout $(cat zarcsha) -b for_zigup
  22. zig build test -Diguana -Dcpu=baseline
  23. shell: bash
  24. - uses: actions/upload-artifact@v2
  25. with:
  26. name: zigup ${{ matrix.os }}
  27. path: zig-out/bin/*