forked from irods/irods
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ 7191] Add Rocky Linux 9 to GitHub Actions workflows
EL9 differs from EL8 enough that the GitHub Actions workflows need to be separated.
- Loading branch information
Showing
2 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...orkflows/build-irods-enterprise-linux.yml → ...kflows/build-irods-enterprise-linux-8.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: build-irods-enterprise-linux | ||
name: build-irods-enterprise-linux-8 | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: build-irods-enterprise-linux-9 | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
name: ${{ matrix.container }} | ||
runs-on: ubuntu-latest | ||
container: ${{ matrix.container }} | ||
strategy: | ||
matrix: | ||
container: ['almalinux:9','rockylinux:9'] | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
- name: Install Prerequisites | ||
run: | | ||
dnf -y update ca-certificates | ||
dnf -y install bind-utils wget git epel-release | ||
dnf -y install dnf-plugin-config-manager dnf-plugins-core | ||
dnf config-manager --set-enabled crb | ||
dnf -y install gcc gcc-c++ make rpm-build bzip2-devel curl-devel fakeroot openssl-devel pam-devel python3-devel unixODBC unixODBC-devel zlib-devel python3-distro krb5-devel | ||
- name: Install iRODS Externals | ||
run: | | ||
update-crypto-policies --set LEGACY # TODO: irods/irods#7349 - remove this | ||
rpm --import https://unstable.irods.org/irods-unstable-signing-key.asc | ||
dnf config-manager -y --add-repo https://unstable.irods.org/renci-irods-unstable.yum.repo | ||
dnf config-manager -y --set-enabled renci-irods-unstable | ||
dnf -y update | ||
dnf -y install \ | ||
irods-externals-avro1.11.0-2 \ | ||
irods-externals-boost1.81.0-0 \ | ||
irods-externals-catch22.13.8-0 \ | ||
irods-externals-clang-runtime13.0.0-0 \ | ||
irods-externals-clang13.0.0-0 \ | ||
irods-externals-cmake3.21.4-0 \ | ||
irods-externals-cppzmq4.8.1-1 \ | ||
irods-externals-fmt8.1.1-0 \ | ||
irods-externals-json3.10.4-0 \ | ||
irods-externals-libarchive3.5.2-0 \ | ||
irods-externals-nanodbc2.13.0-1 \ | ||
irods-externals-spdlog1.9.2-1 \ | ||
irods-externals-zeromq4-14.1.8-0 | ||
- name: Configure CMake | ||
run: | | ||
export PATH=/opt/irods-externals/cmake3.21.4-0/bin:$PATH | ||
mkdir build | ||
cd build | ||
cmake -DIRODS_DISABLE_COMPILER_OPTIMIZATIONS=ON ../ | ||
- name: Build and Package | ||
run: | | ||
cd build | ||
make package |