"Fossies" - the Fresh Open Source Software Archive

Member "ponyc-0.33.0/.cirrus.yml" (1 Nov 2019, 2943 Bytes) of package /linux/misc/ponyc-0.33.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for ".cirrus.yml": 0.32.0_vs_0.33.0.

    1 task:
    2   container:
    3     image: ponylang/ponyc-ci-x86-64-unknown-linux-gnu-builder:20191009
    4     cpu: 8
    5     memory: 24
    6 
    7   name: "lib/llvm: x86-64-unknown-linux-gnu"
    8 
    9   clone_script: |
   10     if [ -n "$CIRRUS_TAG" ]
   11     then
   12       echo "cloning for tag $CIRRUS_TAG"
   13       git clone --depth 1 --branch "$CIRRUS_TAG" --recurse-submodules https://github.com/ponylang/ponyc.git
   14     elif [ -n "$CIRRUS_BRANCH" ]
   15     then
   16       echo "cloning for branch $CIRRUS_BRANCH"
   17       git clone --depth 1 --branch "$CIRRUS_BRANCH" --recurse-submodules https://github.com/ponylang/ponyc.git
   18     fi
   19 
   20   test_script:
   21     - cd ponyc
   22     - make -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release -j8
   23     - make -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release test-ci
   24 
   25   only_if: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH != 'release'
   26 
   27 task:
   28   container:
   29     image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20191009
   30     cpu: 8
   31     memory: 24
   32 
   33   name: "lib/llvm: x86-64-unknown-linux-musl"
   34 
   35   clone_script: |
   36     if [ -n "$CIRRUS_TAG" ]
   37     then
   38       echo "cloning for tag $CIRRUS_TAG"
   39       git clone --depth 1 --branch "$CIRRUS_TAG" --recurse-submodules https://github.com/ponylang/ponyc.git
   40     elif [ -n "$CIRRUS_BRANCH" ]
   41     then
   42       echo "cloning for branch $CIRRUS_BRANCH"
   43       git clone --depth 1 --branch "$CIRRUS_BRANCH" --recurse-submodules https://github.com/ponylang/ponyc.git
   44     fi
   45 
   46   test_script:
   47     - cd ponyc
   48     - make -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release link=static -j8
   49     - make -f Makefile-lib-llvm default_pic=true arch=x86-64 config=release link=static test-ci
   50 
   51   only_if: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH != 'release'
   52 
   53 task:
   54   freebsd_instance:
   55     image: freebsd-12-0-release-amd64
   56 
   57   name: "FreeBSD 12"
   58 
   59   install_script:
   60     - echo "FETCH_RETRY = 6" >> /usr/local/etc/pkg.conf
   61     - pkg update
   62     - pkg install -y gmake libunwind llvm70 git
   63 
   64   test_script:
   65     - LLVM_CONFIG=llvm-config70 gmake all config=release -j3
   66     - LLVM_CONFIG=llvm-config70 gmake test-ci config=release
   67 
   68   only_if: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH != 'release'
   69 
   70 task:
   71   osx_instance:
   72     image: mojave-xcode-11.1
   73 
   74   name: "macOS"
   75 
   76   install_script:
   77     - curl -o macports.pkg https://distfiles.macports.org/MacPorts/MacPorts-2.6.0-10.14-Mojave.pkg
   78     - sudo installer -verbose -pkg macports.pkg -target /
   79     - sudo /opt/local/bin/port selfupdate
   80     - sudo /opt/local/bin/port install llvm-7.0
   81 
   82   test_script:
   83     - export LDFLAGS="-L/opt/local/lib"
   84     - export PATH=/usr/local/opt/llvm/bin/:$PATH
   85     - export CC1=clang
   86     - export CXX1=clang++
   87     - export LLVM_CONFIG=/opt/local/bin/llvm-config-mp-7.0
   88     - make LLVM_CONFIG="$LLVM_CONFIG" CC="$CC1" CXX="$CXX1" -j$(sysctl -n hw.ncpu) config=release all
   89     - make LLVM_CONFIG="$LLVM_CONFIG" CC="$CC1" CXX="$CXX1" config=release test-ci
   90 
   91   only_if: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH != 'release'