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 #159

Merged
merged 1 commit into from
Nov 4, 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
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch'
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
8 changes: 4 additions & 4 deletions cmake/package-lock.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# This file should be committed to version control

# seqan3
set (NEEDLE_SEQAN3_VERSION f500cf7fbe128636c6e50a99519b5eb2532ab70e)
set (NEEDLE_SEQAN3_VERSION 4d03890530089b040221876c9e368fc250c4583f)
CPMDeclarePackage (seqan3
NAME seqan3
GIT_TAG ${NEEDLE_SEQAN3_VERSION}
GIT_TAG ${NEEDLE_SEQAN3_VERSION} # main
GITHUB_REPOSITORY seqan/seqan3
SYSTEM TRUE
EXCLUDE_FROM_ALL TRUE
Expand All @@ -31,7 +31,7 @@ CPMDeclarePackage (googletest
set (NEEDLE_ROBIN_HOOD_VERSION 7697343363af4cc3f42cab17be49e6af9ab181e2)
CPMDeclarePackage (robin-hood
NAME robin-hood
GIT_TAG ${NEEDLE_ROBIN_HOOD_VERSION}
GIT_TAG ${NEEDLE_ROBIN_HOOD_VERSION} # master
GITHUB_REPOSITORY martinus/robin-hood-hashing
SYSTEM TRUE
EXCLUDE_FROM_ALL TRUE
Expand All @@ -42,7 +42,7 @@ CPMDeclarePackage (robin-hood
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