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