File: config.yml

package info (click to toggle)
mandelbulber2 2.20-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 149,924 kB
  • sloc: cpp: 79,997; lisp: 30,582; php: 1,798; sh: 897; python: 581; xml: 88; makefile: 42; ansic: 3
file content (40 lines) | stat: -rw-r--r-- 1,209 bytes parent folder | download
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
# https://circleci.com/docs/2.0/
version: 2
jobs:
  build-and-pack:
    macos:
      xcode: "9.4.1"
    working_directory: ~/mandelbulber2/
    steps:
      - checkout
      - run:
          name: Dependencies
          command: |
            brew update
            brew install llvm qt5 gsl lzo jpeg libpng libtiff libsndfile tree p7zip wget
      - run:
          name: Build
          command: |
            export QTDIR="/usr/local/opt/qt5"
            export PATH="$QTDIR/bin:$PATH"
            export LDFLAGS="-L$QTDIR/lib $LDFLAGS"
            export CPPFLAGS="-I$QTDIR/include $CPPFLAGS"
            sh ~/mandelbulber2/mandelbulber2/mac/build_deploy.sh
      - run:
          name: Pack
          command: |
            mkdir -p ~/mandelbulber2/build/artifacts/
            cd ~/mandelbulber2/build/ && 7z a artifacts/mandelbulber2-macOS-$CIRCLE_SHA1.zip mandelbulber2.app
            mv ~/mandelbulber2/build/mandelbulber2.dmg ~/mandelbulber2/build/artifacts/mandelbulber2-macOS-$CIRCLE_SHA1.dmg
            cd ~/mandelbulber2/build/ && tree .
      - store_artifacts:
          path: ~/mandelbulber2/build/artifacts/

workflows:
  version: 2
  build-and-deploy:
    jobs:
      - build-and-pack