| 1 | name: More extensive but slower tests |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: |
| 6 | - master |
| 7 | paths-ignore: |
| 8 | - '**.md' |
| 9 | - '**.yml' |
| 10 | - '!**/more_extensive_but_slower_tests_ci.yml' |
| 11 | - 'examples/**' |
| 12 | - 'cmd/tools/**' |
| 13 | pull_request: |
| 14 | paths-ignore: |
| 15 | - '**.md' |
| 16 | - '**.yml' |
| 17 | - '!**/more_extensive_but_slower_tests_ci.yml' |
| 18 | - 'examples/**' |
| 19 | - 'cmd/tools/**' |
| 20 | |
| 21 | concurrency: |
| 22 | group: slower_tests-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }} |
| 23 | cancel-in-progress: true |
| 24 | |
| 25 | jobs: |
| 26 | more-tests: |
| 27 | strategy: |
| 28 | matrix: |
| 29 | os: [ubuntu-latest, macos-14, windows-latest] |
| 30 | runs-on: ${{ matrix.os }} |
| 31 | timeout-minutes: 20 |
| 32 | steps: |
| 33 | - uses: actions/checkout@v6 |
| 34 | |
| 35 | - name: Build V |
| 36 | if: runner.os != 'Windows' |
| 37 | run: make -j4 && ./v symlink |
| 38 | - name: Build V (Windows) |
| 39 | if: runner.os == 'Windows' |
| 40 | run: ./makev.bat && ./v symlink |
| 41 | |
| 42 | - name: Run additional crypto tests |
| 43 | run: | |
| 44 | v retry -- git clone --depth 1 https://github.com/vlang/slower_tests |
| 45 | v test slower_tests/ |
| 46 | |