From 73b02cdf36ee82303fb6c6f2f1036131906e8327 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 21 Jul 2022 22:13:21 +0300 Subject: [PATCH] ci: fix spurious native_backend_tests.yml cancellations --- .github/workflows/native_backend_tests.yml | 50 ++++++++++++++++++---- 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/.github/workflows/native_backend_tests.yml b/.github/workflows/native_backend_tests.yml index fcefede774..23a5961d25 100644 --- a/.github/workflows/native_backend_tests.yml +++ b/.github/workflows/native_backend_tests.yml @@ -2,21 +2,55 @@ name: native backend CI on: push: - paths-ignore: - - "**.md" + paths: + - '!**' + - '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: paths-ignore: - - "**.md" - -concurrency: - group: native-backend-ci-${{ github.event.pull_request.number || github.sha }} - cancel-in-progress: true + - '!**' + - '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' jobs: native-backend: strategy: 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 }} steps: - uses: actions/checkout@v2