Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFRA] Add CPM update CI #444

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/ci_cpm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: CC0-1.0

name: Update CPM

on:
schedule:
- cron: "0 12 * * SAT"
workflow_dispatch:

env:
TZ: Europe/Berlin

concurrency:
group: update-cpm-actions
cancel-in-progress: true

jobs:
update_cpm:
name: Update CPM
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Run update CPM
uses: seqan/actions/update_cpm_package_lock@main
with:
token: ${{ secrets.SEQAN_ACTIONS_PAT }}
gpg_key: ${{ secrets.SEQAN_ACTIONS_GPG_KEY }}
gpg_passphrase: ${{ secrets.SEQAN_ACTIONS_GPG_PASSPHRASE }}
package_lock_file: cmake/package-lock.cmake

10 changes: 5 additions & 5 deletions cmake/package-lock.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
set (RAPTOR_HIBF_VERSION 73dd737eb6a7e23df9b26e1445a28632b4c41753)
CPMDeclarePackage (hibf
NAME hibf
GIT_TAG ${RAPTOR_HIBF_VERSION}
GIT_TAG ${RAPTOR_HIBF_VERSION} # main
GITHUB_REPOSITORY seqan/hibf
SYSTEM TRUE
EXCLUDE_FROM_ALL TRUE
Expand All @@ -19,7 +19,7 @@ CPMDeclarePackage (hibf
set (RAPTOR_SHARG_VERSION c4367d1049322826e60c674b6bf24d3d0a8da999)
CPMDeclarePackage (sharg
NAME sharg
GIT_TAG ${RAPTOR_SHARG_VERSION}
GIT_TAG ${RAPTOR_SHARG_VERSION} # main
GITHUB_REPOSITORY seqan/sharg-parser
SYSTEM TRUE
EXCLUDE_FROM_ALL TRUE
Expand All @@ -29,7 +29,7 @@ CPMDeclarePackage (sharg
set (RAPTOR_SEQAN3_VERSION d4a7c88fde0311e12e98e7822da772b99c887cb5)
CPMDeclarePackage (seqan3
NAME seqan3
GIT_TAG ${RAPTOR_SEQAN3_VERSION}
GIT_TAG ${RAPTOR_SEQAN3_VERSION} # main
GITHUB_REPOSITORY seqan/seqan3
SYSTEM TRUE
EXCLUDE_FROM_ALL TRUE
Expand All @@ -39,7 +39,7 @@ CPMDeclarePackage (seqan3
set (RAPTOR_CHOPPER_VERSION f4770aa02fb4f356678cc51e0e126ecfc04ed06b)
CPMDeclarePackage (chopper
NAME chopper
GIT_TAG ${RAPTOR_CHOPPER_VERSION}
GIT_TAG ${RAPTOR_CHOPPER_VERSION} # main
GITHUB_REPOSITORY seqan/chopper
SYSTEM TRUE
OPTIONS "CHOPPER_INSTALL OFF" "CHOPPER_BUILD_DOC OFF" "CHOPPER_BUILD_TEST OFF"
Expand Down Expand Up @@ -71,7 +71,7 @@ CPMDeclarePackage (googletest
set (USE_CCACHE_VERSION d2a54ef555b6fc2d496a4c9506dbeb7cf899ce37)
CPMDeclarePackage (use_ccache
NAME use_ccache
GIT_TAG ${USE_CCACHE_VERSION}
GIT_TAG ${USE_CCACHE_VERSION} # main
GITHUB_REPOSITORY seqan/cmake-scripts
SOURCE_SUBDIR ccache
SYSTEM TRUE
Expand Down
Loading