Skip to content

Commit 7e0d88d

Browse files
authored
Merge pull request #3343 from eseiler/infra/seqan2_cache
[INFRA] SeqAn2 release and cache action
2 parents 1266c15 + 9fdc59a commit 7e0d88d

File tree

4 files changed

+12
-29
lines changed

4 files changed

+12
-29
lines changed

.github/workflows/ci_coverage.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,8 @@ jobs:
4444
with:
4545
fetch-depth: 0
4646

47-
- name: Load ccache
48-
uses: actions/cache@v4
49-
with:
50-
path: /home/runner/.ccache
51-
key: ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}-${{ github.ref }}-${{ github.run_id }}
52-
restore-keys: |
53-
ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}-${{ github.ref }}
54-
ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}
47+
- name: Setup cache
48+
uses: seqan/actions/setup-actions-cache@main
5549

5650
- name: Increase ccache size
5751
run: echo "CCACHE_MAXSIZE=300M" >> "${GITHUB_ENV}"

.github/workflows/ci_linux.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,8 @@ jobs:
4545
- name: Checkout
4646
uses: actions/checkout@v4
4747

48-
- name: Load ccache
49-
uses: actions/cache@v4
50-
with:
51-
path: /home/runner/.ccache
52-
key: ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}-${{ github.ref }}-${{ github.run_id }}
53-
restore-keys: |
54-
ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}-${{ github.ref }}
55-
ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}
48+
- name: Setup cache
49+
uses: seqan/actions/setup-actions-cache@main
5650

5751
- name: Configure tests
5852
run: |

.github/workflows/ci_misc.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,8 @@ jobs:
4646
- name: Checkout
4747
uses: actions/checkout@v4
4848

49-
- name: Load ccache
50-
uses: actions/cache@v4
51-
with:
52-
path: /home/runner/.ccache
53-
key: ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.build }}-${{ matrix.compiler }}-${{ github.ref }}-${{ github.run_id }}
54-
restore-keys: |
55-
ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.build }}-${{ matrix.compiler }}-${{ github.ref }}
56-
ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.build }}-${{ matrix.compiler }}
49+
- name: Setup cache
50+
uses: seqan/actions/setup-actions-cache@main
5751

5852
- name: Configure tests
5953
run: |

cmake/package-lock.cmake

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,16 @@ CPMDeclarePackage (doxygen_awesome
4747
VERSION ${SEQAN3_DOXYGEN_AWESOME_VERSION}
4848
GITHUB_REPOSITORY jothepro/doxygen-awesome-css
4949
DOWNLOAD_ONLY TRUE
50-
QUIET YES)
50+
QUIET TRUE)
5151
# seqan2
52-
set (SEQAN3_SEQAN2_VERSION 339e44ea734359de8592d47cc7a7722bc7a040b4 CACHE STRING "" FORCE)
52+
set (SEQAN3_SEQAN2_VERSION 2.5.0 CACHE STRING "" FORCE)
5353
CPMDeclarePackage (seqan
5454
NAME seqan
55-
GIT_TAG ${SEQAN3_SEQAN2_VERSION} # main
55+
VERSION ${SEQAN3_SEQAN2_VERSION}
56+
GIT_TAG seqan-v${SEQAN3_SEQAN2_VERSION}
5657
GITHUB_REPOSITORY seqan/seqan
57-
DOWNLOAD_ONLY YES
58-
QUIET YES)
58+
DOWNLOAD_ONLY TRUE
59+
QUIET TRUE)
5960
# use_ccache
6061
set (SEQAN3_USE_CCACHE_VERSION d2a54ef555b6fc2d496a4c9506dbeb7cf899ce37 CACHE STRING "" FORCE)
6162
CPMDeclarePackage (use_ccache

0 commit comments

Comments
 (0)