From cc8fc4c2414f7ab263ffbdb2f7d7261aeb11c939 Mon Sep 17 00:00:00 2001 From: hamistao Date: Tue, 10 Dec 2024 20:12:12 -0300 Subject: [PATCH] WIP Signed-off-by: hamistao --- .github/workflows/tests.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 091b9971..9b82cb6e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -286,7 +286,17 @@ jobs: src_track="$(echo "${dst_track}" | cut -d/ -f1)/stable" EXTRA_ARGS="${EXTRA_ARGS:-3} ${src_track} ${{ matrix.track }}" fi - sudo --preserve-env=GITHUB_ACTIONS,GITHUB_STEP_SUMMARY,TEST_IMG ./bin/local-run "tests/${TEST_SCRIPT}" ${{ matrix.track }} ${EXTRA_ARGS:-} + + git clone https://github.com/hamistao/lxd + cd lxd + git checkout disk_size_fixes + sudo apt update + sudo apt install acl attr autoconf automake dnsmasq-base git libacl1-dev libcap-dev liblxc1 liblxc-dev libsqlite3-dev libtool libudev-dev liblz4-dev libuv1-dev make pkg-config rsync squashfs-tools tar tcl xz-utils ebtables + command -v snap >/dev/null || sudo apt-get install snapd + sudo snap install --classic go + make deps + make + sudo LXD_SIDELOAD_PATH=/home/runner/go/bin/lxd --preserve-env=GITHUB_ACTIONS,GITHUB_STEP_SUMMARY,TEST_IMG ./bin/local-run "tests/${TEST_SCRIPT}" ${{ matrix.track }} ${EXTRA_ARGS:-} # always update cache as we have our own logic of # cache invalidation and updates in addition to a date check