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:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -11,36 +11,34 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- lisp: sbcl-bin/2.0.0
|
- lisp: sbcl-bin/2.4.0
|
||||||
target: x86-64
|
target: x86-64
|
||||||
image: musl64
|
image: musl64
|
||||||
makeopts: musl
|
makeopts: musl
|
||||||
- lisp: sbcl-bin/2.0.0
|
- lisp: sbcl-bin/2.4.0
|
||||||
target: x86-64
|
target: x86-64
|
||||||
image: musl64
|
image: musl64
|
||||||
makeopts: musl
|
makeopts: musl
|
||||||
variant: -musl
|
variant: -musl
|
||||||
- lisp: sbcl-bin/2.0.0
|
- lisp: sbcl-bin/2.4.0
|
||||||
target: x86-64
|
target: x86-64
|
||||||
image: deb
|
image: deb
|
||||||
makeopts: deb
|
makeopts: deb
|
||||||
- lisp: sbcl-bin/2.0.0
|
- lisp: sbcl-bin/2.4.0
|
||||||
target: x86-64
|
target: x86-64
|
||||||
image: pandoc
|
image: pandoc
|
||||||
makeopts: docs
|
makeopts: docs
|
||||||
environment: SET_VERSION
|
environment: SET_VERSION
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: setenv
|
- name: setenv
|
||||||
run: |
|
run: |
|
||||||
echo "$HOME/.roswell/bin" >> $GITHUB_PATH
|
echo "$HOME/.roswell/bin" >> $GITHUB_PATH
|
||||||
echo "ROSWELL_BRANCH=release" >> $GITHUB_ENV
|
echo "ROSWELL_BRANCH=release" >> $GITHUB_ENV
|
||||||
- name: checkenv
|
- name: checkenv
|
||||||
run: |
|
run: |
|
||||||
uname -s
|
uname -s -m
|
||||||
uname -m
|
|
||||||
- name: Install Roswell
|
- name: Install Roswell
|
||||||
env:
|
env:
|
||||||
LISP: ${{ matrix.lisp }}
|
LISP: ${{ matrix.lisp }}
|
||||||
|
|
@ -49,8 +47,20 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sh scripts/install-for-ci.sh
|
sh scripts/install-for-ci.sh
|
||||||
ros install snmsts/sn.github
|
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
|
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
|
make -f scripts/Makefile pull-docker || make -f scripts/Makefile build-docker push-docker
|
||||||
fi
|
fi
|
||||||
- name: build
|
- name: build
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue