fix(ci): remove container directive for dockerized runner compatibility
Some checks failed
Build and Test / build (push) Failing after 17m20s
Release Build / build-linux (push) Has been cancelled
Release Build / build-macos (arm64, macos-14) (push) Has been cancelled
Release Build / build-macos (x86_64, macos-13) (push) Has been cancelled
Release Build / build-windows (push) Has been cancelled
Release Build / publish-release (push) Has been cancelled
Some checks failed
Build and Test / build (push) Failing after 17m20s
Release Build / build-linux (push) Has been cancelled
Release Build / build-macos (arm64, macos-14) (push) Has been cancelled
Release Build / build-macos (x86_64, macos-13) (push) Has been cancelled
Release Build / build-windows (push) Has been cancelled
Release Build / publish-release (push) Has been cancelled
Gitea act_runner in Docker mode maps the runs-on label to a container image via its config. The container: block conflicts with this by attempting to create a nested container. Remove it so the runner's own docker://ubuntu:24.04 mapping is used directly.
This commit is contained in:
@@ -11,9 +11,6 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:24.04
|
||||
options: --security-opt seccomp=unconfined
|
||||
|
||||
env:
|
||||
CCACHE_DIR: /tmp/ccache-kindred-create
|
||||
@@ -29,7 +26,7 @@ jobs:
|
||||
run: |
|
||||
apt-get update -qq
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates curl git xvfb xauth openssl \
|
||||
ca-certificates curl git xvfb xauth openssl sudo \
|
||||
libgl1-mesa-dev libglu1-mesa-dev libx11-dev libxkbcommon-dev \
|
||||
libxcb-xkb-dev libfontconfig1-dev
|
||||
|
||||
|
||||
@@ -17,9 +17,6 @@ jobs:
|
||||
# ---------------------------------------------------------------------------
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:24.04
|
||||
options: --security-opt seccomp=unconfined
|
||||
|
||||
env:
|
||||
CCACHE_DIR: /tmp/ccache-kindred-create
|
||||
@@ -38,7 +35,7 @@ jobs:
|
||||
run: |
|
||||
apt-get update -qq
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates curl git file fuse3 xvfb xauth openssl dpkg-dev \
|
||||
ca-certificates curl git file fuse3 xvfb xauth openssl sudo dpkg-dev \
|
||||
libgl1-mesa-dev libglu1-mesa-dev libx11-dev libxkbcommon-dev \
|
||||
libxcb-xkb-dev libfontconfig1-dev
|
||||
|
||||
@@ -117,14 +114,13 @@ jobs:
|
||||
# ---------------------------------------------------------------------------
|
||||
build-macos:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- runner: macos-13
|
||||
arch: x86_64
|
||||
preset: conda-macos-release
|
||||
- runner: macos-14
|
||||
arch: arm64
|
||||
preset: conda-macos-release
|
||||
|
||||
runs-on: ${{ matrix.runner }}
|
||||
|
||||
@@ -248,17 +244,6 @@ jobs:
|
||||
pixi install
|
||||
pixi run -e package create_bundle
|
||||
|
||||
- name: Build NSIS installer
|
||||
shell: bash
|
||||
working-directory: package/rattler-build/windows
|
||||
run: |
|
||||
if [ "${MAKE_INSTALLER}" == "true" ]; then
|
||||
# The create_bundle.sh script builds the 7z archive.
|
||||
# NSIS installer is built as part of the bundle script when
|
||||
# MAKE_INSTALLER is set and NSIS is available.
|
||||
echo "Installer build completed as part of create_bundle"
|
||||
fi
|
||||
|
||||
- name: Save ccache
|
||||
if: always()
|
||||
uses: https://github.com/actions/cache/save@v4
|
||||
|
||||
Reference in New Issue
Block a user