Skip to content

Commit

Permalink
improve CI (#327)
Browse files Browse the repository at this point in the history
* improve ci

* fix

* Revert "fix"

This reverts commit 85c9982.
  • Loading branch information
andiwand authored Aug 3, 2023
1 parent 44f055e commit 4896bc1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CCACHE_DIR: ${{ github.workspace }}/ccache
CCACHE_MAXSIZE: 500M
CCACHE_KEY_SUFFIX: r19

jobs:
build:
runs-on: ${{ matrix.config.os }}
Expand Down Expand Up @@ -47,7 +56,7 @@ jobs:
~/.conan/data
C:/.conan
C:/Users/runneradmin/.conan/data
key: ${{ matrix.config.os }}-${{ matrix.config.cxx }}-rev19
key: ${{ matrix.config.os }}-${{ matrix.config.cxx }}-${{ env.CCACHE_KEY_SUFFIX }}
restore-keys: |
${{ matrix.config.os }}-${{ matrix.config.cxx }}-
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 4896bc1

Please sign in to comment.