Commit 65880b52 authored by Eric Timmons's avatar Eric Timmons
Browse files

Try using Debian image for dynamic releases

parent c21039ae
Pipeline #2936 passed with stage
in 13 minutes and 48 seconds
variables:
GIT_SUBMODULE_STRATEGY: recursive
ALPINE_VERSION: "3.13"
DEBIAN_VERSION: stretch
SBCL_VERSION: 2.1.1
DOCKER_HUB_CI_REPO: daewok/clpm-ci
......@@ -47,14 +48,14 @@ static-release:linux:arm64:
.dynamic-release:
stage: build
image: $DOCKER_HUB_CI_REPO:$SBCL_VERSION-alpine$ALPINE_VERSION-$ARCH
image: $DOCKER_HUB_CI_REPO:$SBCL_VERSION-$DEBIAN_VERSION-$ARCH
before_script:
- git checkout -B $CI_COMMIT_BRANCH $CI_COMMIT_SHA
script:
- sbcl --script scripts/build-release.lisp
artifacts:
paths:
- build/bin/
- releases/
rules:
- if: '$CI_COMMIT_BRANCH'
......@@ -63,12 +64,12 @@ dynamic-release:linux:amd64:
variables:
ARCH: amd64
dynamic-release:linux:arm64:
extends: .dynamic-release
variables:
ARCH: arm64
tags:
- arm64v8
# dynamic-release:linux:arm64:
# extends: .dynamic-release
# variables:
# ARCH: arm64
# tags:
# - arm64v8
# dynamic-release:linux:armv7:
# extends: .dynamic-release
......
# This Dockerfile builds a Linux image for use on Gitlab CI.
ARG sbcl_version=2.1.1
ARG debian_version=stretch
ARG image_repo=clfoundation/sbcl
FROM $image_repo:$sbcl_version-$debian_version
WORKDIR /usr/local/src/sbcl/
# Build it!
RUN set -x \
&& case "$(dpkg --print-architecture)" in \
armhf) SBCL_ARCH=arm; SBCL_MAKE_ARGS="--with-sb-linkable-runtime";; \
arm64) SBCL_ARCH=arm64; SBCL_MAKE_ARGS="--with-sb-linkable-runtime";; \
amd64) SBCL_ARCH=x86-64; SBCL_MAKE_ARGS="--with-sb-linkable-runtime";; \
*) echo "Unknown arch" >&2; exit 1;; \
esac \
&& export SBCL_ARCH \
&& sh make.sh $SBCL_MAKE_ARGS \
&& sh install.sh
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