File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://circleci.com/docs/2.0/
2+ version : 2
3+ jobs :
4+ build-and-pack :
5+ macos :
6+ xcode : " 8.3.3"
7+ working_directory : ~/projectm/
8+ steps :
9+ - checkout
10+ - run :
11+ name : Dependencies
12+ command : |
13+ brew update
14+ brew install llvm qt5 gsl lzo jpeg libpng libtiff libsndfile tree p7zip wget
15+ - run :
16+ name : Build
17+ command : |
18+ export QTDIR="/usr/local/opt/qt5"
19+ export PATH="$QTDIR/bin:$PATH"
20+ export LDFLAGS="-L$QTDIR/lib $LDFLAGS"
21+ export CPPFLAGS="-I$QTDIR/include $CPPFLAGS"
22+ sh ~/projectm/projectm/mac/build_deploy.sh
23+ - run :
24+ name : Pack
25+ command : |
26+ mkdir -p ~/projectm/build/artifacts/
27+ cd ~/projectm/build/ && 7z a artifacts/projectm-macOS-$CIRCLE_SHA1.zip projectm.app
28+ mv ~/projectm/build/projectm.dmg ~/projectm/build/artifacts/projectm-macOS-$CIRCLE_SHA1.dmg
29+ cd ~/projectm/build/ && tree .
30+ - store_artifacts :
31+ path : ~/projectm/build/artifacts/
32+
33+ workflows :
34+ version : 2
35+ build-and-deploy :
36+ jobs :
37+ - build-and-pack
38+
39+
40+
You can’t perform that action at this time.
0 commit comments