-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 1.34 KB
/
c-cpp.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
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Update
run: sudo apt-get update
- name: Install PostgreSQL, MariaDB, UnixODBC, MongoDB, OpenLDAP
run: sudo apt-get -y install libpq-dev libmariadbclient-dev unixodbc-dev libmongoc-1.0-0 libbson-1.0-0 libmongoc-dev libldap-2.4-2 libldap-common libldap2-dev
- name: Install alien
run: sudo apt-get -y install alien
- name: Download Oracle Instant Client 19.6 Basic
run: wget https://download.oracle.com/otn_software/linux/instantclient/19600/oracle-instantclient19.6-basic-19.6.0.0.0-1.x86_64.rpm
- name: Download Oracle Instant Client 19.6 Devel
run: wget https://download.oracle.com/otn_software/linux/instantclient/19600/oracle-instantclient19.6-devel-19.6.0.0.0-1.x86_64.rpm
- name: Unpack Oracle Instant Client Basic
run: sudo alien -i oracle-instantclient19.6-basic-19.6.0.0.0-1.x86_64.rpm
- name: Unpack Oracle Instant Client Devel
run: sudo alien -i oracle-instantclient19.6-devel-19.6.0.0.0-1.x86_64.rpm
- name: Set paths
run: export LD_LIBRARY_PATH=/usr/lib/oracle/19.6/client64/lib/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} && export PATH=$PATH:$ORACLE_HOME/bin
- name: make
run: make