Skip to content

Commit

Permalink
Allow jenkins to run on mac minis
Browse files Browse the repository at this point in the history
  • Loading branch information
roceb committed Sep 6, 2024
1 parent 6ef1c8f commit 7b978b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 8 additions & 0 deletions etc/scipipe/build_matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,19 @@ template:
display_name: macos-13
compiler: conda-system
python: '3'
- &macarm64-conda
<<: *platform_defaults
image: null
label: mini
display_name: macosarm-14
compiler: conda-system
python: '3'
#
# build environment/matrix configs
#
scipipe-lsstsw-matrix:
- <<: *el7-conda
- <<: *macarm64-conda
- <<: *ventura-conda
# allow builds on monterey and ventura
label: osx-12||osx-13
Expand Down
5 changes: 2 additions & 3 deletions pipelines/lib/util.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -385,13 +385,12 @@ def lsstswBuild(
}
} // runEnv

def agent = null
def agent = lsstswConfig.label
def task = null
if (lsstswConfig.image) {
agent = 'docker'
task = { runEnv(runDocker) }
} else {
agent = lsstswConfig.label
task = { runEnv(run) }
}

Expand Down Expand Up @@ -1540,7 +1539,7 @@ def String sanitizeEupsTag(String tag) {
char c = tag.charAt(0)
if ( c.isDigit() ) {
tag = "v" + tag
}
}

// eups doesn't like dots in tags, convert to underscores
// by policy, we're not allowing dash either
Expand Down

0 comments on commit 7b978b7

Please sign in to comment.