Commit fed96bb9 authored by Eric Timmons's avatar Eric Timmons
Browse files

Make arm/windows/macos jobs easier to configure

parent 34a743c2
......@@ -33,7 +33,7 @@ stages:
--dockerfile $CI_PROJECT_DIR/docker/Dockerfile.alpine-ci \
--destination $CI_REGISTRY_IMAGE/ci:$SBCL_VERSION-alpine$ALPINE_VERSION-$ARCH
rules:
- if: '($CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH) && ($CI_PROJECT_NAMESPACE == "clpm" || $ARCH == "amd64")'
- if: '($CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH) && ($ARCH == "amd64" || ($ARCH == "arm" && $CLPM_CI_LINUX_ARM64) || ($ARCH == "arm64" && $CLPM_CI_LINUX_ARM64))'
changes:
- .gitlab-ci.versions.yml
- docker/Dockerfile.alpine-ci
......@@ -57,7 +57,7 @@ stages:
--dockerfile $CI_PROJECT_DIR/docker/Dockerfile.debian-ci \
--destination $CI_REGISTRY_IMAGE/ci:$SBCL_VERSION-$DEBIAN_VERSION-$ARCH
rules:
- if: '($CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH) && ($CI_PROJECT_NAMESPACE == "clpm" || $ARCH == "amd64")'
- if: '($CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH) && ($ARCH == "amd64" || ($ARCH == "arm" && $CLPM_CI_LINUX_ARM64) || ($ARCH == "arm64" && $CLPM_CI_LINUX_ARM64))'
changes:
- .gitlab-ci.versions.yml
- docker/Dockerfile.debian-ci
......@@ -125,7 +125,7 @@ static-release:linux:arm64:
tags:
- arm64
rules:
- if: '$CI_PROJECT_NAMESPACE == "clpm"'
- if: '$CLPM_CI_LINUX_ARM64'
##############################################################################
# Build dynamic releases
......@@ -157,16 +157,16 @@ dynamic-release:linux:arm64:
tags:
- arm64
rules:
- if: '$CI_PROJECT_NAMESPACE == "clpm"'
- if: '$CLPM_CI_LINUX_ARM64'
dynamic-release:linux:armv7:
dynamic-release:linux:arm:
extends: .dynamic-release
variables:
ARCH: arm
tags:
- arm64
rules:
- if: '$CI_PROJECT_NAMESPACE == "clpm"'
- if: '$CLPM_CI_LINUX_ARM64'
dynamic-release:macos:amd64:
stage: build
......@@ -175,7 +175,7 @@ dynamic-release:macos:amd64:
- macos-0.4-amd64
needs: []
rules:
- if: '$CI_PROJECT_NAMESPACE == "clpm"'
- if: '$CLPM_CI_MACOS_AMD64'
dynamic-release:windows:amd64:
stage: build
......@@ -199,7 +199,7 @@ dynamic-release:windows:amd64:
paths:
- releases/
rules:
- if: '$CI_PROJECT_NAMESPACE == "clpm"'
- if: '$CLPM_CI_WINDOWS_AMD64'
needs: []
tags:
- windows-amd64
......
......@@ -3,6 +3,13 @@
This file is meant to be a colleciton of notes for CLPM developers that users
don't typically have to worry about.
* CI
The canonical repo has Linux arm, Windows, and Mac runners associated with
it. Since forks are unlikely to have these, the jobs that run on them are
guarded by the presence of the environment variables =CLPM_CI_LINUX_ARM64=,
=CLPM_CI_WINDOWS_AMD64=, and =CLPM_CI_MACOS_AMD64=.
* Dependencies
CLPM has a lot of dependencies. Probably too many, but that's a problem for
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment