Skip to content

Commit 8eeef9e

Browse files
committed
add codemagic.yaml
requires monero-project#277
1 parent 9d838a0 commit 8eeef9e

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

codemagic.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
workflows:
2+
build:
3+
name: Build workflow
4+
scripts:
5+
- name: install dependencies
6+
script: HOMEBREW_NO_AUTO_UPDATE=1 brew install boost openssl zmq libpgm miniupnpc ldns expat libunwind-headers protobuf qt@5
7+
- name: fetch zmq.hpp
8+
script: brew tap osrf/simulation && brew install cppzmq
9+
- name: build
10+
script: |
11+
export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"
12+
./build.sh
13+
- name: test qml
14+
script: build/release/bin/aeon-wallet-gui.app/Contents/MacOS/aeon-wallet-gui --test-qml
15+
- name: deploy
16+
script: make deploy
17+
working_directory: build
18+
- name: build CLI
19+
script: |
20+
rm -rf build/
21+
USE_SINGLE_BUILDDIR=1 make release-static -j3
22+
cp build/release/bin/* ../build/release/bin/
23+
cp build/release/bin/aeond ../build/release/bin/aeon-wallet-gui.app/Contents/MacOS/aeond
24+
working_directory: monero
25+
- name: archive
26+
script: |
27+
export ARTIFACT_NAME="aeon-gui-mac-armv8-$(git describe --tags)"
28+
mkdir $ARTIFACT_NAME
29+
cp -rf bin/* $ARTIFACT_NAME
30+
tar cvzf $ARTIFACT_NAME.tar.bz2 $ARTIFACT_NAME
31+
working_directory: build/release
32+
- name: SHA256 checksum
33+
script: |
34+
export ARTIFACT_NAME="aeon-gui-mac-armv8-$(git describe --tags)"
35+
openssl sha256 $ARTIFACT_NAME.tar.bz2
36+
working_directory: build/release
37+
- name: upload to transfer.sh
38+
script: |
39+
export ARTIFACT_NAME="aeon-gui-mac-armv8-$(git describe --tags)"
40+
curl --upload-file build/release/$ARTIFACT_NAME.tar.bz2 https://transfer.sh/$ARTIFACT_NAME.tar.bz2

0 commit comments

Comments
 (0)