The goal is to simplify management of dependencies through one control point - e.g. a workflow file, shell script, python script, etc.
Here's one such location.
|
- name: Install prerequisite packages |
|
run: | |
|
apt-get update -qq |
|
apt-get install -qq \ |
|
build-essential \ |
|
cmake \ |
|
git \ |
|
gnupg \ |
|
lsb-release \ |
|
python3-distro \ |
|
python3-packaging \ |
|
python3-pip \ |
|
python3-setuptools \ |
|
wget |
|
|
|
- name: Set up iRODS externals package repository |
|
run: | |
|
mkdir -p /etc/apt/keyrings |
|
wget -qO - https://unstable.irods.org/irods-unstable-signing-key.asc | \ |
|
gpg \ |
|
--no-options \ |
|
--no-default-keyring \ |
|
--no-auto-check-trustdb \ |
|
--homedir /dev/null \ |
|
--no-keyring \ |
|
--import-options import-export \ |
|
--output /etc/apt/keyrings/renci-irods-unstable-archive-keyring.pgp \ |
|
--import |
|
echo "deb [signed-by=/etc/apt/keyrings/renci-irods-unstable-archive-keyring.pgp arch=amd64] https://unstable.irods.org/apt/ $(lsb_release -sc) main" | \ |
|
tee /etc/apt/sources.list.d/renci-irods-unstable.list |
Motivated by #27 (comment).
The goal is to simplify management of dependencies through one control point - e.g. a workflow file, shell script, python script, etc.
Here's one such location.
irods_reusable_github_workflows/.github/workflows/build-and-test-plugin-with-irods-packages-debian.yml
Lines 55 to 84 in a25754e
Motivated by #27 (comment).