-
Notifications
You must be signed in to change notification settings - Fork 6
/
.cirrus.yml
79 lines (64 loc) · 2.46 KB
/
.cirrus.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# ------------------------------------------------------------------------------------------
cirrus_freebsd_clang_test_task:
only_if: &default-condition $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH == 'dev' || $CIRRUS_BRANCH =~ 'feature-.*' || $CIRRUS_BRANCH =~ 'feature_.*' || $CIRRUS_BRANCH =~ 'cirrusci/.*' || $CIRRUS_BRANCH == 'cirrus-ci-tests' || $CIRRUS_BASE_BRANCH != ''
auto_cancellation: true
freebsd_instance:
image: freebsd-12-0-release-amd64
# freebsd-11-2-release-amd64
env:
# CONAN_GCC_VERSIONS: 9
CONAN_CLANG_VERSIONS: "7.0, 6.0"
# CONAN_REFERENCE: "gmp/6.1.2"
# CONAN_USERNAME: "kth"
# CONAN_LOGIN_USERNAME: "fpelliccioni"
# CONAN_CHANNEL: "stable"
# CONAN_UPLOAD: "https://api.bintray.com/conan/k-nuth/kth"
# CONAN_STABLE_BRANCH_PATTERN: "release/*"
# CONAN_LOGIN_USERNAME: ENCRYPTED[!0fc5affed4d2084389c1cb0cfa369767e679a054d8e418dcf98c4d25d34b6bec6a5e3dd0235f3dd66686c1739d7bfbcc!]
# CONAN_PASSWORD: ENCRYPTED[!3ed4d8bb7c72f35dc679f44fa521616f928c7286fa0d84195c3b1cd7c058e0154085f9b8dd8e57268c4e7a343eb34a18!]
# matrix:
# STDFLAG: -std=c++14
# STDFLAG: -std=c++17
# #STDFLAG: -std=c++2a
# install_script: pkg install -y gmake
# version_script: gmake --version && gmake -C test showcxxversion
# test_script: cd test && gmake -j4 && gmake test
install_script:
# - wget https://bootstrap.pypa.io/get-pip.py
# - python get-pip.py
# - chmod +x .travis/install.sh
# - chmod +x .travis/run.sh
# - ./.travis/install.sh
- set -e
- set -x
- freebsd-version
- echo "Git installation..."
- pkg update -f
- pkg install -y git
- which git
- git --version
- which python
# - ln -s /usr/local/bin/python3.6 /usr/local/bin/python
- python --version
# - pkg install -y py36-pip
# - which pip-3.6
- pkg install -y py27-pip
- which pip-2.7
- ln -s /usr/local/bin/pip-2.7 /usr/local/bin/pip
- pip --version
# - pip install --upgrade pip
- pip install conan --upgrade
- pip install conan_package_tools --upgrade
- pip install cpuid --upgrade
- pip install cpuid --upgrade
# - echo "fix Conan"
# - cd /usr/ports/databases/py-sqlite3
# - make clean
# - sudo make PYTHON_VERSION=python2.7 install
- conan user
build_script:
# - ./.travis/run.sh
- pwd
- ls -ltra
# - python build.py
- python -c 'import cpuid; _, b, _, _ = cpuid.cpuid_count(7, 0); print((b >> 29) & 1)'