Skip to content

Commit a76f41d

Browse files
authored
Merge pull request #159 from eseiler/infra/cpm
[INFRA] Add CPM update CI
2 parents 87878bf + f2790c5 commit a76f41d

File tree

2 files changed

+36
-4
lines changed

2 files changed

+36
-4
lines changed

.github/workflows/ci_cpm.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
2+
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
name: Update CPM
6+
7+
on:
8+
schedule:
9+
- cron: "0 12 * * SAT"
10+
workflow_dispatch:
11+
12+
env:
13+
TZ: Europe/Berlin
14+
15+
concurrency:
16+
group: update-cpm-actions
17+
cancel-in-progress: true
18+
19+
jobs:
20+
update_cpm:
21+
name: Update CPM
22+
runs-on: ubuntu-latest
23+
timeout-minutes: 15
24+
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch'
25+
steps:
26+
- name: Run update CPM
27+
uses: seqan/actions/update_cpm_package_lock@main
28+
with:
29+
token: ${{ secrets.SEQAN_ACTIONS_PAT }}
30+
gpg_key: ${{ secrets.SEQAN_ACTIONS_GPG_KEY }}
31+
gpg_passphrase: ${{ secrets.SEQAN_ACTIONS_GPG_PASSPHRASE }}
32+
package_lock_file: cmake/package-lock.cmake

cmake/package-lock.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
# This file should be committed to version control
77

88
# seqan3
9-
set (NEEDLE_SEQAN3_VERSION f500cf7fbe128636c6e50a99519b5eb2532ab70e)
9+
set (NEEDLE_SEQAN3_VERSION 4d03890530089b040221876c9e368fc250c4583f)
1010
CPMDeclarePackage (seqan3
1111
NAME seqan3
12-
GIT_TAG ${NEEDLE_SEQAN3_VERSION}
12+
GIT_TAG ${NEEDLE_SEQAN3_VERSION} # main
1313
GITHUB_REPOSITORY seqan/seqan3
1414
SYSTEM TRUE
1515
EXCLUDE_FROM_ALL TRUE
@@ -31,7 +31,7 @@ CPMDeclarePackage (googletest
3131
set (NEEDLE_ROBIN_HOOD_VERSION 7697343363af4cc3f42cab17be49e6af9ab181e2)
3232
CPMDeclarePackage (robin-hood
3333
NAME robin-hood
34-
GIT_TAG ${NEEDLE_ROBIN_HOOD_VERSION}
34+
GIT_TAG ${NEEDLE_ROBIN_HOOD_VERSION} # master
3535
GITHUB_REPOSITORY martinus/robin-hood-hashing
3636
SYSTEM TRUE
3737
EXCLUDE_FROM_ALL TRUE
@@ -42,7 +42,7 @@ CPMDeclarePackage (robin-hood
4242
set (USE_CCACHE_VERSION d2a54ef555b6fc2d496a4c9506dbeb7cf899ce37)
4343
CPMDeclarePackage (use_ccache
4444
NAME use_ccache
45-
GIT_TAG ${USE_CCACHE_VERSION}
45+
GIT_TAG ${USE_CCACHE_VERSION} # main
4646
GITHUB_REPOSITORY seqan/cmake-scripts
4747
SOURCE_SUBDIR ccache
4848
SYSTEM TRUE

0 commit comments

Comments
 (0)