| ... | @@ -1,48 +0,0 @@ |
| 1 | name: CI |
| 2 | |
| 3 | on: |
| 4 | pull_request: |
| 5 | branches: [master] |
| 6 | |
| 7 | jobs: |
| 8 | test: |
| 9 | strategy: |
| 10 | fail-fast: false |
| 11 | matrix: |
| 12 | host: |
| 13 | [ |
| 14 | ubuntu-latest, |
| 15 | macos-latest, |
| 16 | windows-latest, |
| 17 | ] |
| 18 | |
| 19 | runs-on: ${{matrix.host}} |
| 20 | |
| 21 | steps: |
| 22 | - uses: actions/checkout@v2 |
| 23 | with: |
| 24 | submodules: "recursive" |
| 25 | |
| 26 | - name: Setup Zig |
| 27 | uses: mlugg/setup-zig@v1 |
| 28 | with: |
| 29 | mirror: "http://mirrors.nektro.net/s3cgi" |
| 30 | version: "0.14.0" |
| 31 | |
| 32 | - run: zig version |
| 33 | - run: zig env |
| 34 | - run: zig build -j1 |
| 35 | - run: echo "$PWD/zig-out/bin" >> $GITHUB_PATH |
| 36 | |
| 37 | - run: zigmod version |
| 38 | - run: zigmod sum |
| 39 | - run: zigmod zpm add apple_pie |
| 40 | - run: zigmod zpm tags |
| 41 | |
| 42 | - run: ./test_repo.sh https://github.com/nektro/zigmod-test-basic |
| 43 | - run: ./test_repo.sh https://github.com/nektro/zigmod-test-git-dep |
| 44 | - run: ./test_repo.sh https://github.com/nektro/zigmod-test-hg-dep |
| 45 | - run: ./test_repo.sh https://github.com/nektro/zigmod-test-http-dep |
| 46 | - run: ./test_repo.sh https://github.com/nektro/zigmod-test-systemlib-dep |
| 47 | - run: ./test_repo.sh https://github.com/nektro/zigmod-test-local-dep |
| 48 | - run: ./test_repo.sh https://github.com/nektro/zigmod-test-c-code |