From ed791a628daf382a2786bda1edd79a37f8ee93d6 Mon Sep 17 00:00:00 2001 From: Roman Nikonov Date: Sun, 22 Dec 2024 21:34:59 +0100 Subject: [PATCH] debug --- .github/workflows/pr-ubuntu-docker.yml | 9 +++++++-- misc/deps_linux/archlinux.sh | 3 +++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-ubuntu-docker.yml b/.github/workflows/pr-ubuntu-docker.yml index c7c9cdd536..1b22ef68c3 100644 --- a/.github/workflows/pr-ubuntu-docker.yml +++ b/.github/workflows/pr-ubuntu-docker.yml @@ -34,11 +34,16 @@ jobs: - name: Debug - print env run: env - - name: Get image to build upon + - name: Get/build image to use for building & testing run: | set -x # print executed commands - cat ${{github.workspace}}/misc/github_env_linux >> "$GITHUB_ENV" + echo Some debug data + id + uname -a + lsb_release -a + + # cat ${{github.workspace}}/misc/github_env_linux >> "$GITHUB_ENV" # get base image for this distro (or build configuration, in case with skymp-deps) base_image="`misc/deps_linux/${{ matrix.base_system }}.sh --get-image-uri`" diff --git a/misc/deps_linux/archlinux.sh b/misc/deps_linux/archlinux.sh index 8997f0c2b4..aeb20b3ff4 100755 --- a/misc/deps_linux/archlinux.sh +++ b/misc/deps_linux/archlinux.sh @@ -12,11 +12,14 @@ if [[ "$1" == "--ensure-deps-noninteractive" ]]; then echo "This isn't CI environment! Are you sure you didn't want to use just --ensure-deps?" exit 1 fi + set -x PACMAN_ARGS="--noconfirm" pacman -Syu $PACMAN_ARGS sudo useradd -m skymp chown -R skymp:skymp /src + cat /etc/passwd + DO_ENSURE_DEPS=1 fi