|
45 | 45 | - '.github/workflows/native_backend_ci.yml' |
46 | 46 |
|
47 | 47 | concurrency: |
48 | | - group: native_backend-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }} |
| 48 | + group: native_backend-${{ github.workflow }}-${{ github.ref}} |
49 | 49 | cancel-in-progress: true |
50 | 50 |
|
51 | 51 | jobs: |
52 | | - native-backend: |
53 | | - strategy: |
54 | | - matrix: |
55 | | - os: [ubuntu-24.04, windows-2019] |
56 | | - runs-on: ${{ matrix.os }} |
| 52 | + native-backend-ubuntu: |
| 53 | + runs-on: ubuntu-24.04 |
57 | 54 | steps: |
58 | 55 | - uses: actions/checkout@v4 |
59 | 56 | - name: Build V |
60 | | - if: runner.os != 'Windows' |
61 | | - run: make -j4 && ./v symlink |
62 | | - - name: Build V (Windows) |
63 | | - if: runner.os == 'Windows' |
64 | | - run: ./make.bat && ./v symlink |
| 57 | + run: make && ./v symlink |
65 | 58 | - name: Install linker |
66 | | - if: runner.os == 'Linux' |
67 | 59 | run: v retry -- sudo apt -qq install binutils |
68 | 60 | - name: Rebuild V with -g, for better stacktraces on compiler panics |
69 | 61 | run: v -g self |
70 | 62 | - name: Run the native backend tests serially with more details |
71 | 63 | run: | |
72 | 64 | v vlib/v/gen/native/macho_test.v |
73 | 65 | v vlib/v/gen/native/tests/native_test.v |
| 66 | +
|
| 67 | + native-backend-windows: |
| 68 | + runs-on: windows-2019 |
| 69 | + steps: |
| 70 | + - uses: actions/checkout@v4 |
| 71 | + - name: Build V (Windows) |
| 72 | + run: ./make.bat && ./v symlink |
| 73 | + - name: Rebuild V with -g, for better stacktraces on compiler panics |
| 74 | + run: v -g self |
| 75 | + - name: Run the native backend tests serially with more details |
| 76 | + run: | |
| 77 | + v vlib/v/gen/native/macho_test.v |
| 78 | + v vlib/v/gen/native/tests/native_test.v |
0 commit comments