Skip to content

Commit

Permalink
add codemagic.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stoffu committed Dec 20, 2022
1 parent 887fbba commit bf3163e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions codemagic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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
- name: fetch zmq.hpp
script: brew tap osrf/simulation && brew install cppzmq
- name: build
script: USE_SINGLE_BUILDDIR=1 make release-static -j3
- name: archive
working_directory: build/release
script: |
export ARTIFACT_NAME="aeon-mac-armv8-$(git describe --tags)"
mkdir $ARTIFACT_NAME
cp bin/* $ARTIFACT_NAME
tar cvzf $ARTIFACT_NAME.tar.bz2 $ARTIFACT_NAME
- name: SHA256 checksum
working_directory: build/release
script: |
export ARTIFACT_NAME="aeon-mac-armv8-$(git describe --tags)"
openssl sha256 $ARTIFACT_NAME.tar.bz2
- name: upload to transfer.sh
script: |
export ARTIFACT_NAME="aeon-mac-armv8-$(git describe --tags)"
curl --upload-file build/release/$ARTIFACT_NAME.tar.bz2 https://transfer.sh/$ARTIFACT_NAME.tar.bz2

0 comments on commit bf3163e

Please sign in to comment.