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

Commit

Permalink
move apple build at pre statge
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodk committed Nov 18, 2022
1 parent 9ed34cc commit 25c3781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ include:
sanitizer: address

mac_m1_cmake_build:
stage: build
stage: .pre
extends: .matrix
cache:
# either CI_MERGE_REQUEST_SOURCE_BRANCH_NAME or CI_COMMIT_BRANCH will be available,
Expand All @@ -37,6 +37,7 @@ mac_m1_cmake_build:
tags:
- macos-arm64
script:
- git clone https://github.com/neuronsimulator/nrn.git && cd nrn
- python3 -m virtualenv venv
- venv/bin/pip install --upgrade pip -r nrn_requirements.txt
- venv/bin/python --version
Expand Down Expand Up @@ -69,7 +70,6 @@ mac_m1_cmake_build:
-DNRN_ENABLE_RX3D=${cmake_rx3d}
-DCORENRN_SANITIZERS=${sanitizer})
- cmake_args+=(-DPYTHON_EXECUTABLE="${PYTHON}")
- git clone https://github.com/neuronsimulator/nrn.git && cd nrn
- mkdir build && cd build
- echo "Building with ${cmake_args[@]}"
- cmake .. "${cmake_args[@]}"
Expand Down

0 comments on commit 25c3781

Please sign in to comment.