|
15 | 15 | CC: gcc-14 |
16 | 16 | CXX: g++-14 |
17 | 17 | steps: |
18 | | - - checkout |
| 18 | + - run: | |
| 19 | + export REPO_HTTPS=`echo "$CIRCLE_REPOSITORY_URL" | sed "s|git@github.com:|https://github.com/|g"` |
| 20 | + git clone -b "$CIRCLE_BRANCH" "$REPO_HTTPS" . --depth=1 |
19 | 21 | - run: | |
20 | 22 | sudo apt-add-repository -y universe |
21 | 23 | sudo apt-get install -y gcc-14 g++-14 |
|
47 | 49 | CC: clang-19 |
48 | 50 | CXX: clang++-19 |
49 | 51 | steps: |
50 | | - - checkout |
| 52 | + - run: | |
| 53 | + export REPO_HTTPS=`echo "$CIRCLE_REPOSITORY_URL" | sed "s|git@github.com:|https://github.com/|g"` |
| 54 | + git clone -b "$CIRCLE_BRANCH" "$REPO_HTTPS" . --depth=1 |
51 | 55 | - run: | |
52 | 56 | sudo apt-add-repository -y universe |
53 | 57 | sudo apt-get install -y gcc-14 g++-14 |
|
89 | 93 | QTHREAD_STACK_SIZE: 524288 |
90 | 94 | ASAN_OPTIONS: "check_initialization_order=1" |
91 | 95 | steps: |
92 | | - - checkout |
| 96 | + - run: | |
| 97 | + export REPO_HTTPS=`echo "$CIRCLE_REPOSITORY_URL" | sed "s|git@github.com:|https://github.com/|g"` |
| 98 | + git clone -b "$CIRCLE_BRANCH" "$REPO_HTTPS" . --depth=1 |
93 | 99 | - run: | |
94 | 100 | sudo apt-add-repository -y universe |
95 | 101 | sudo apt-get install -y gcc-14 g++-14 |
@@ -124,7 +130,9 @@ jobs: |
124 | 130 | CC: armclang |
125 | 131 | CXX: armclang++ |
126 | 132 | steps: |
127 | | - - checkout |
| 133 | + - run: | |
| 134 | + export REPO_HTTPS=`echo "$CIRCLE_REPOSITORY_URL" | sed "s|git@github.com:|https://github.com/|g"` |
| 135 | + git clone -b "$CIRCLE_BRANCH" "$REPO_HTTPS" . --depth=1 |
128 | 136 | - run: | |
129 | 137 | # Set up apt to get a more recent CMake directly from Kitware. |
130 | 138 | wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null |
@@ -173,7 +181,9 @@ jobs: |
173 | 181 | CC: nvc |
174 | 182 | CXX: nvc++ |
175 | 183 | steps: |
176 | | - - checkout |
| 184 | + - run: | |
| 185 | + export REPO_HTTPS=`echo "$CIRCLE_REPOSITORY_URL" | sed "s|git@github.com:|https://github.com/|g"` |
| 186 | + git clone -b "$CIRCLE_BRANCH" "$REPO_HTTPS" . --depth=1 |
177 | 187 | - run: | |
178 | 188 | curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg |
179 | 189 | export MACHINE_TYPE=`uname -m` |
@@ -214,7 +224,10 @@ jobs: |
214 | 224 | - image: alpine:latest |
215 | 225 | resource_class: << parameters.worker_type >> |
216 | 226 | steps: |
217 | | - - checkout |
| 227 | + - run: | |
| 228 | + apk add --no-cache --no-progress git |
| 229 | + export REPO_HTTPS=`echo "$CIRCLE_REPOSITORY_URL" | sed "s|git@github.com:|https://github.com/|g"` |
| 230 | + git clone -b "$CIRCLE_BRANCH" "$REPO_HTTPS" . --depth=1 |
218 | 231 | - run: | |
219 | 232 | apk add --no-cache --no-progress bash make musl-dev hwloc-dev cmake gcc g++ |
220 | 233 | if [ "<< parameters.compiler >>" == "clang" ]; then apk add clang; fi |
|
0 commit comments