1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix spurious native_backend_tests.yml cancellations

This commit is contained in:
Delyan Angelov 2022-07-21 22:13:21 +03:00
parent 81104ac309
commit 73b02cdf36
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -2,21 +2,55 @@ name: native backend CI
on: on:
push: push:
paths-ignore: paths:
- "**.md" - '!**'
- 'vlib/v/gen/native/'
- 'cmd/tools/builders/**.v'
- 'vlib/builtin/**.v'
- 'vlib/v/ast/**.v'
- 'vlib/v/scanner/**.v'
- 'vlib/v/scanner/**.v'
- 'vlib/v/parser/**.v'
- 'vlib/v/checker/**.v'
- 'vlib/v/gen/c/**.v'
- 'vlib/v/builder/**.v'
- 'vlib/v/cflag/**.v'
- 'vlib/v/live/**.v'
- 'vlib/v/util/**.v'
- 'vlib/v/markused/**.v'
- 'vlib/v/preludes/**.v'
- 'vlib/v/gen/native/**.v'
- 'vlib/v/gen/native/tests/**.v'
pull_request: pull_request:
paths-ignore: paths-ignore:
- "**.md" - '!**'
- 'vlib/v/gen/native/'
concurrency: - 'cmd/tools/builders/**.v'
group: native-backend-ci-${{ github.event.pull_request.number || github.sha }} - 'vlib/builtin/**.v'
cancel-in-progress: true - 'vlib/v/ast/**.v'
- 'vlib/v/scanner/**.v'
- 'vlib/v/scanner/**.v'
- 'vlib/v/parser/**.v'
- 'vlib/v/checker/**.v'
- 'vlib/v/gen/c/**.v'
- 'vlib/v/builder/**.v'
- 'vlib/v/cflag/**.v'
- 'vlib/v/live/**.v'
- 'vlib/v/util/**.v'
- 'vlib/v/markused/**.v'
- 'vlib/v/preludes/**.v'
- 'vlib/v/gen/native/**.v'
- 'vlib/v/gen/native/tests/**.v'
jobs: jobs:
native-backend: native-backend:
strategy: strategy:
matrix: matrix:
os: [ubuntu-18.04, ubuntu-20.04, macos-10.15, macos-11, macos-12, windows-2016, windows-2019, windows-2022] os: [
ubuntu-18.04, ubuntu-20.04,
macos-10.15, macos-11, macos-12,
windows-2019, windows-2022
]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2