diff --git a/.github/workflows/build-umu-debian-12.yml b/.github/workflows/build-umu-debian-12.yml index 3737b1bb..6fd55400 100644 --- a/.github/workflows/build-umu-debian-12.yml +++ b/.github/workflows/build-umu-debian-12.yml @@ -17,16 +17,25 @@ jobs: options: --privileged -it steps: - - uses: actions/checkout@v4 - - - name: Copy debian packaging folder to the repository root - run: cp -rvf ./packaging/deb/debian ./debian - - name: Update APT Cache run: apt update -y - name: Install build dependencies - run: apt install -y dh-make dpkg-dev + run: apt install -y dh-make dpkg-dev git + + - uses: actions/checkout@v4 + with: + submodules: recursive + fetch-depth: 0 + + - name: Configure Git safe directory + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + + - name: Initialize submodules + run: git submodule update --init --recursive + + - name: Copy debian packaging folder to the repository root + run: cp -rvf ./packaging/deb/debian ./debian - name: Setup dh_make quilt files run: LOGNAME=root dh_make --createorig -y -l -p umu-launcher_1.1.4 || true diff --git a/.github/workflows/build-umu-fedora-40.yml b/.github/workflows/build-umu-fedora-40.yml index 62017245..44b61c54 100644 --- a/.github/workflows/build-umu-fedora-40.yml +++ b/.github/workflows/build-umu-fedora-40.yml @@ -25,10 +25,11 @@ jobs: run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Install build dependencies - run: dnf install -y rpm-build meson ninja-build cmake g++ gcc-c++ scdoc git python3-devel python3-build python3-installer python3-hatchling python python3 cargo + run: dnf install -y rpm-build meson ninja-build cmake g++ gcc-c++ scdoc git python3-devel python3-build python3-installer python3-hatchling python python3 cargo python3-hatch-vcs python3-wheel libzstd libzstd-devel - name: Build the project run: | + git submodule update --init --recursive ./configure.sh --prefix=/usr make mkdir -p ~/rpmbuild/SOURCES diff --git a/.github/workflows/build-umu-fedora-41.yml b/.github/workflows/build-umu-fedora-41.yml index 908ab3a7..fe9c9849 100644 --- a/.github/workflows/build-umu-fedora-41.yml +++ b/.github/workflows/build-umu-fedora-41.yml @@ -23,12 +23,13 @@ jobs: - name: Configure Git safe directory run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - + - name: Install build dependencies - run: dnf install -y rpm-build meson ninja-build cmake g++ gcc-c++ scdoc git python3-devel python3-build python3-installer python3-hatchling python python3 cargo + run: dnf install -y rpm-build meson ninja-build cmake g++ gcc-c++ scdoc git python3-devel python3-build python3-installer python3-hatchling python python3 cargo python3-hatch-vcs python3-wheel libzstd libzstd-devel - name: Build the project run: | + git submodule update --init --recursive ./configure.sh --prefix=/usr make mkdir -p ~/rpmbuild/SOURCES diff --git a/.github/workflows/build-umu-ubuntu-noble.yml b/.github/workflows/build-umu-ubuntu-noble.yml index d69eb33f..c906c53b 100644 --- a/.github/workflows/build-umu-ubuntu-noble.yml +++ b/.github/workflows/build-umu-ubuntu-noble.yml @@ -17,16 +17,25 @@ jobs: options: --privileged -it steps: - - uses: actions/checkout@v4 - - - name: Copy debian packaging folder to the repository root - run: cp -rvf ./packaging/deb/ubuntu ./debian - - name: Update APT Cache run: apt update -y - name: Install build dependencies - run: apt install -y dh-make dpkg-dev + run: apt install -y dh-make dpkg-dev git + + - uses: actions/checkout@v4 + with: + submodules: recursive + fetch-depth: 0 + + - name: Configure Git safe directory + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + + - name: Initialize submodules + run: git submodule update --init --recursive + + - name: Copy debian packaging folder to the repository root + run: cp -rvf ./packaging/deb/ubuntu ./debian - name: Setup dh_make quilt files run: LOGNAME=root dh_make --createorig -y -l -p umu-launcher_1.1.4 || true diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 0a97adb8..5b806385 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -21,7 +21,7 @@ jobs: run: | sudo apt-get update echo "deb http://archive.ubuntu.com/ubuntu/ noble noble-updates noble-backports main universe restricted multiverse" | sudo tee -a /etc/apt/sources.list - sudo apt-get install meson scdoc python3-hatchling python3-build python3-installer python3-filelock shellcheck bubblewrap cargo libzstd1 python3-xxhash python3-cbor2 apparmor apparmor-profiles apparmor-profiles-extra python3-xlib + sudo apt-get install meson scdoc python3-hatchling python3-build python3-installer python3-filelock shellcheck bubblewrap cargo libzstd1 python3-xxhash python3-cbor2 apparmor apparmor-profiles apparmor-profiles-extra python3-xlib python3-hatch-vcs sudo apparmor_parser /usr/share/apparmor/extra-profiles/bwrap-userns-restrict python3 -m pip install --upgrade pip pip install uv diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 806fb9c2..89d65e9d 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: Install dependencies run: | - sudo apt-get install meson shellcheck scdoc python3-hatchling python3-build python3-installer python3-filelock cargo + sudo apt-get install meson shellcheck scdoc python3-hatchling python3-build python3-installer python3-filelock cargo python3-hatch-vcs python3-wheel libzstd-dev - name: Initialize submodules run: | git submodule update --init --recursive