[irods/irods#7265] post-4.3.1 CMake touch-ups #5
Workflow file for this run
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
name: build-irods-centos | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: ${{ matrix.container }} | |
runs-on: ubuntu-latest | |
container: ${{ matrix.container }} | |
strategy: | |
matrix: | |
container: ['centos:7'] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Install Prerequisites | |
run: | | |
yum -y update ca-certificates | |
yum -y install bind-utils wget epel-release | |
yum -y install gcc g++ libstdc++-static make rpm-build bzip2-devel curl-devel fakeroot openssl-devel pam-devel python-devel unixODBC unixODBC-devel zlib-devel python36-distro | |
- name: Install iRODS Externals | |
run: | | |
rpm --import https://unstable.irods.org/irods-unstable-signing-key.asc | |
wget -qO - https://unstable.irods.org/renci-irods-unstable.yum.repo | tee /etc/yum.repos.d/renci-irods-unstable.yum.repo | |
yum -y update | |
yum -y install \ | |
irods-externals-avro1.11.0-1 \ | |
irods-externals-boost1.78.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 | |
yum -y install irods-devel | |
- name: Build and Package | |
run: | | |
export PATH=/opt/irods-externals/cmake3.21.4-0/bin:$PATH | |
mkdir build | |
cd build | |
cmake .. | |
make |