From 6d74fbdeb94de2bc62a037ff460145c7d9381cc5 Mon Sep 17 00:00:00 2001 From: snmsts Date: Mon, 14 Oct 2024 02:40:27 +0900 Subject: [PATCH] try update linux --- .github/workflows/linux.yml | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 24ce1ee..057b232 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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