This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
54 lines (43 loc) · 1.7 KB
/
workflow.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
52
53
54
name: CI
on:
- pull_request
- push
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- macos-10.15
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install LLVM repositories Ubuntu
if: runner.os == 'Linux'
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo add-apt-repository -y 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main'
- name: Install required Ubuntu packages
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -yq build-essential pkg-config zlib1g-dev libssl-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-test-dev libjsoncpp-dev libsecp256k1-dev clang-13
- name: Install required MacOS packages
if: runner.os == 'macOS'
run: brew update && brew install llvm@13 cmake [email protected] pkg-config boost autoconf automake libtool jsoncpp domt4/crypto/secp256k1
- name: ScillaRTL Testsuite Release Build [Ubuntu]
if: runner.os == 'Linux'
run: scripts/build_ci.sh
- name: ScillaRTL Testsuite Release Build [MacOS]
if: runner.os == 'macOS'
run: scripts/build_ci_macos.sh
env:
OPENSSL_ROOT_DIR: '/usr/local/opt/[email protected]'
- name: ScillaRTL Testsuite Debug Build [Ubuntu]
if: runner.os == 'Linux'
run: scripts/dbuild_ci.sh
- name: ScillaRTL Testsuite Debug Build [MacOS]
if: runner.os == 'macOS'
run: scripts/dbuild_ci_macos.sh