-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (51 loc) · 2.17 KB
/
build-irods-ubuntu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: build-irods-ubuntu
on: [push, pull_request]
jobs:
build:
name: ${{ matrix.container }}
runs-on: ubuntu-latest
container: ${{ matrix.container }}
strategy:
matrix:
container: ['ubuntu:18.04','ubuntu:20.04']
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Prerequisites
run: |
apt-get update -qq
apt-get install -qq dnsutils apt-transport-https ca-certificates
apt-get install -qq wget curl g++ make python-dev unixodbc libcurl4-gnutls-dev libbz2-dev zlib1g-dev libpam0g-dev libssl-dev libxml2-dev unixodbc-dev python-psutil super odbc-postgresql libkrb5-dev python3-distro
- name: Install libstdc++6
run: |
apt-get install -qq software-properties-common
add-apt-repository -y ppa:ubuntu-toolchain-r/test
apt-get update -qq
apt-get install -qq libstdc++6
- name: Install iRODS Externals
run: |
wget -qO - https://unstable.irods.org/irods-unstable-signing-key.asc | apt-key add -
echo "deb [arch=amd64] https://unstable.irods.org/apt/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/renci-irods-unstable.list
apt-get update -qq
apt-get install -qq \
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
apt-get install -qq irods-dev
- name: Build and Package
run: |
export PATH=/opt/irods-externals/cmake3.21.4-0/bin:$PATH
mkdir build
cd build
cmake ..
make