mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
try update linux
This commit is contained in:
parent
9b212cda7c
commit
6d74fbdeb9
30
.github/workflows/linux.yml
vendored
30
.github/workflows/linux.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: linux
|
||||
name: Linux
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -11,36 +11,34 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- lisp: sbcl-bin/2.0.0
|
||||
- lisp: sbcl-bin/2.4.0
|
||||
target: x86-64
|
||||
image: musl64
|
||||
makeopts: musl
|
||||
- lisp: sbcl-bin/2.0.0
|
||||
- lisp: sbcl-bin/2.4.0
|
||||
target: x86-64
|
||||
image: musl64
|
||||
makeopts: musl
|
||||
variant: -musl
|
||||
- lisp: sbcl-bin/2.0.0
|
||||
- lisp: sbcl-bin/2.4.0
|
||||
target: x86-64
|
||||
image: deb
|
||||
makeopts: deb
|
||||
- lisp: sbcl-bin/2.0.0
|
||||
- lisp: sbcl-bin/2.4.0
|
||||
target: x86-64
|
||||
image: pandoc
|
||||
makeopts: docs
|
||||
environment: SET_VERSION
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- name: setenv
|
||||
run: |
|
||||
echo "$HOME/.roswell/bin" >> $GITHUB_PATH
|
||||
echo "ROSWELL_BRANCH=release" >> $GITHUB_ENV
|
||||
- name: checkenv
|
||||
run: |
|
||||
uname -s
|
||||
uname -m
|
||||
uname -s -m
|
||||
- name: Install Roswell
|
||||
env:
|
||||
LISP: ${{ matrix.lisp }}
|
||||
|
|
@ -49,8 +47,20 @@ jobs:
|
|||
run: |
|
||||
sh scripts/install-for-ci.sh
|
||||
ros install snmsts/sn.github
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: docker.pkg.github.com
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: pull or build&push docker image
|
||||
env:
|
||||
DOCKER_PLATFORM: ${{ matrix.docker-platform }}
|
||||
DOCKER_BUILD_OPTIONS: ${{ matrix.docker-build-options }}
|
||||
DOCKER_IMAGE_SUFFIX: ${{ matrix.docker-image-suffix }}
|
||||
IMAGE: ${{ matrix.image }}
|
||||
run: |
|
||||
if [ -n "$IMAGE" ]; then
|
||||
docker login docker.pkg.github.com -u snmsts -p $GITHUB_OAUTH_TOKEN;
|
||||
make -f scripts/Makefile pull-docker || make -f scripts/Makefile build-docker push-docker
|
||||
fi
|
||||
- name: build
|
||||
|
|
|
|||
Loading…
Reference in a new issue