forked from boostorg/core
Added concurrency settings to auto-cancel redundant CI jobs.
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -8,7 +8,12 @@ on:
|
|||||||
- develop
|
- develop
|
||||||
- feature/**
|
- feature/**
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{github.head_ref}}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
GIT_FETCH_JOBS: 8
|
||||||
UBSAN_OPTIONS: print_stacktrace=1
|
UBSAN_OPTIONS: print_stacktrace=1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -150,7 +155,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Boost
|
- name: Setup Boost
|
||||||
run: |
|
run: |
|
||||||
GIT_FETCH_JOBS=8
|
|
||||||
echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
|
echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
|
||||||
LIBRARY=${GITHUB_REPOSITORY#*/}
|
LIBRARY=${GITHUB_REPOSITORY#*/}
|
||||||
echo LIBRARY: $LIBRARY
|
echo LIBRARY: $LIBRARY
|
||||||
@ -213,7 +217,6 @@ jobs:
|
|||||||
- name: Setup Boost
|
- name: Setup Boost
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
set GIT_FETCH_JOBS=8
|
|
||||||
echo GITHUB_REPOSITORY: %GITHUB_REPOSITORY%
|
echo GITHUB_REPOSITORY: %GITHUB_REPOSITORY%
|
||||||
for /f %%i in ("%GITHUB_REPOSITORY%") do set LIBRARY=%%~nxi
|
for /f %%i in ("%GITHUB_REPOSITORY%") do set LIBRARY=%%~nxi
|
||||||
echo LIBRARY: %LIBRARY%
|
echo LIBRARY: %LIBRARY%
|
||||||
|
Reference in New Issue
Block a user