Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 25c3781

Browse files
committed
move apple build at pre statge
1 parent 9ed34cc commit 25c3781

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ include:
2020
sanitizer: address
2121

2222
mac_m1_cmake_build:
23-
stage: build
23+
stage: .pre
2424
extends: .matrix
2525
cache:
2626
# either CI_MERGE_REQUEST_SOURCE_BRANCH_NAME or CI_COMMIT_BRANCH will be available,
@@ -37,6 +37,7 @@ mac_m1_cmake_build:
3737
tags:
3838
- macos-arm64
3939
script:
40+
- git clone https://github.com/neuronsimulator/nrn.git && cd nrn
4041
- python3 -m virtualenv venv
4142
- venv/bin/pip install --upgrade pip -r nrn_requirements.txt
4243
- venv/bin/python --version
@@ -69,7 +70,6 @@ mac_m1_cmake_build:
6970
-DNRN_ENABLE_RX3D=${cmake_rx3d}
7071
-DCORENRN_SANITIZERS=${sanitizer})
7172
- cmake_args+=(-DPYTHON_EXECUTABLE="${PYTHON}")
72-
- git clone https://github.com/neuronsimulator/nrn.git && cd nrn
7373
- mkdir build && cd build
7474
- echo "Building with ${cmake_args[@]}"
7575
- cmake .. "${cmake_args[@]}"

0 commit comments

Comments
 (0)