File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11freebsd_instance :
22 image : freebsd-12-0-release-amd64
33
4- task :
4+ libcxxrt_freebsd_task :
55 install_script : pkg install -y cmake ninja llvm80 git
66
77 clone_script : |
1616 git submodule sync
1717 git submodule update
1818
19- script : |
19+ build_script : |
2020 mkdir Build
2121 cd Build
2222 cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang80 -DCMAKE_CXX_COMPILER=clang++80
2323 ninja
24- ctest -j4
24+
25+ test_script : cd Build && ctest -j4
26+
27+ libcxxrt_master_task :
28+ install_script : pkg install -y cmake ninja llvm80 git
29+
30+ clone_script : |
31+ if [ -z "$CIRRUS_PR" ]; then
32+ git clone --recursive --branch=$CIRRUS_BRANCH https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR
33+ git reset --hard $CIRRUS_CHANGE_IN_REPO
34+ else
35+ git clone --recursive https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR
36+ git fetch origin pull/$CIRRUS_PR/head:pull/$CIRRUS_PR
37+ git reset --hard $CIRRUS_CHANGE_IN_REPO
38+ fi
39+ git submodule sync
40+ git submodule update
41+
42+ install_libcxxrt_script : |
43+ git clone https://github.com/libcxxrt/libcxxrt.git
44+ mkdir -p libcxxrt/Build
45+ cd libcxxrt/Build
46+ cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang80 -DCMAKE_CXX_COMPILER=clang++80
47+ ninja
48+ cp lib/libcxxrt.so /usr/local/lib
49+
50+ build_script : |
51+ mkdir Build
52+ cd Build
53+ cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang80 -DCMAKE_CXX_COMPILER=clang++80
54+ ninja
55+
56+ test_script : cd Build && ctest -j4
You can’t perform that action at this time.
0 commit comments