forked from monero-project/monero-gui
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
requires monero-project#277
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
workflows: | ||
build: | ||
name: Build workflow | ||
scripts: | ||
- name: install dependencies | ||
script: HOMEBREW_NO_AUTO_UPDATE=1 brew install boost openssl zmq libpgm miniupnpc ldns expat libunwind-headers protobuf qt@5 | ||
- name: fetch zmq.hpp | ||
script: brew tap osrf/simulation && brew install cppzmq | ||
- name: build | ||
script: | | ||
export PATH="/opt/homebrew/opt/qt@5/bin:$PATH" | ||
./build.sh | ||
- name: test qml | ||
script: build/release/bin/aeon-wallet-gui.app/Contents/MacOS/aeon-wallet-gui --test-qml | ||
- name: deploy | ||
script: | | ||
export PATH="/opt/homebrew/opt/qt@5/bin:$PATH" | ||
make deploy | ||
working_directory: build | ||
- name: build CLI | ||
script: | | ||
rm -rf build/ | ||
USE_SINGLE_BUILDDIR=1 make release-static -j3 | ||
cp build/release/bin/* ../build/release/bin/ | ||
cp build/release/bin/aeond ../build/release/bin/aeon-wallet-gui.app/Contents/MacOS/aeond | ||
working_directory: monero | ||
- name: archive | ||
script: | | ||
export ARTIFACT_NAME="aeon-gui-mac-armv8-$(git describe --tags)" | ||
mkdir $ARTIFACT_NAME | ||
cp -rf bin/* $ARTIFACT_NAME | ||
tar cvzf $ARTIFACT_NAME.tar.bz2 $ARTIFACT_NAME | ||
working_directory: build/release | ||
- name: SHA256 checksum | ||
script: | | ||
export ARTIFACT_NAME="aeon-gui-mac-armv8-$(git describe --tags)" | ||
openssl sha256 $ARTIFACT_NAME.tar.bz2 | ||
working_directory: build/release | ||
- name: upload to transfer.sh | ||
script: | | ||
export ARTIFACT_NAME="aeon-gui-mac-armv8-$(git describe --tags)" | ||
curl --upload-file build/release/$ARTIFACT_NAME.tar.bz2 https://transfer.sh/$ARTIFACT_NAME.tar.bz2 |