Commit 89b2ff6b authored by Eric Timmons's avatar Eric Timmons
Browse files

Account for M1 runner being persistent

parent 20b2f31f
Pipeline #4589 passed with stages
in 31 minutes and 53 seconds
...@@ -97,8 +97,12 @@ dynamic-release:macos:arm64: ...@@ -97,8 +97,12 @@ dynamic-release:macos:arm64:
stage: build stage: build
extends: .dynamic-release extends: .dynamic-release
script: script:
- FASL_DIR="$(mktemp -d)"
- ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration (:root (\"$FASL_DIR/\" :implementation :**/ :*.*.*)))"
- export ASDF_OUTPUT_TRANSLATIONS
- export PATH="/Users/clpm/.local/bin:$PATH" - export PATH="/Users/clpm/.local/bin:$PATH"
- sbcl --script scripts/build-release.lisp - sbcl --script scripts/build-release.lisp
- rm -rf "$FASL_DIR"
tags: tags:
- macos-arm64 - macos-arm64
needs: [] needs: []
...@@ -277,16 +281,22 @@ test-dynamic-release:macos:arm64: ...@@ -277,16 +281,22 @@ test-dynamic-release:macos:arm64:
ARCH: arm64 ARCH: arm64
VARIANT: dynamic VARIANT: dynamic
script: script:
- FASL_DIR="$(mktemp -d)"
- ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration (:root (\"$FASL_DIR/\" :implementation :**/ :*.*.*)))"
- export ASDF_OUTPUT_TRANSLATIONS
- INSTALL_ROOT="$(mktemp -d)"
- export INSTALL_ROOT
- export PATH="/Users/clpm/.local/bin:$PATH" - export PATH="/Users/clpm/.local/bin:$PATH"
# Install from the release archive! # Install from the release archive!
- VERSION=$(sbcl --script scripts/version.lisp) - VERSION=$(sbcl --script scripts/version.lisp)
- cd /tmp - cd /tmp
- tar xvf $CI_PROJECT_DIR/releases/$VARIANT/clpm-$VERSION-darwin-$ARCH.tar.gz - tar xvf $CI_PROJECT_DIR/releases/$VARIANT/clpm-$VERSION-darwin-$ARCH.tar.gz
- cd clpm-$VERSION-darwin-$ARCH - cd clpm-$VERSION-darwin-$ARCH
- sudo sh install.sh - sh install.sh
- clpm version -VV - $INSTALL_ROOT/bin/clpm version -VV
- cd $CI_PROJECT_DIR - cd $CI_PROJECT_DIR
- sbcl --script scripts/test.lisp - sbcl --script scripts/test.lisp --clpm $INSTALL_ROOT/bin/clpm
- rm -rf "$FASL_DIR"
needs: needs:
- dynamic-release:macos:arm64 - dynamic-release:macos:arm64
tags: tags:
......
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