forked from DigiByte-Core/digibyte
-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (38 loc) · 1.47 KB
/
ci-coverage-mac-no-tests-no-qt.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
name: 'Build & Check: macOS No QT & No Tests'
on: [push]
jobs:
build:
runs-on: macos-10.15
strategy:
matrix:
os: [x86_64-mac]
steps:
- uses: actions/checkout@v2
- name: Brew Install Dependencies
run: brew install automake [email protected] berkeley-db@4 qt@5 miniupnpc libnatpmp zeromq librsvg openssl pandoc
- name: Brew Link OpenSSL
run: brew link openssl --force
- name: Brew Link Boost
run: brew link [email protected] --force
- name: Brew Link BDB
run: brew link berkeley-db@4 --force
- name: Brew Force Link Openssl
run: export LDFLAGS="-L/usr/local/opt/openssl/lib -L/usr/local/lib -L/usr/local/opt/expat/lib" && export CFLAGS="-I/usr/local/opt/openssl/include/ -I/usr/local/include -I/usr/local/opt/expat/include" && export CPPFLAGS="-I/usr/local/opt/openssl/include/ -I/usr/local/include -I/usr/local/opt/expat/include"
- name: Install pypandoc
run: pip3 install pypandoc
- name: Install scrypt for Python3
run: pip3 install digibyte_scrypt
- name: Auto Generate
run: ./autogen.sh
- name: Configure
run: ./configure --without-gui --disable-tests
- name: Make
run: make -j3
- name: Make Check
run: make check
- name: Upload Test Suite Log
uses: actions/upload-artifact@v3
if: failure()
with:
name: test-suite-log
path: /src/test-suite.log