Skip to content

Commit

Permalink
workflows: update package workflows with new requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jan 25, 2025
1 parent e4f9a1a commit 6e659f3
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 17 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/build-umu-debian-12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-umu-fedora-40.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-umu-fedora-41.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 15 additions & 6 deletions .github/workflows/build-umu-ubuntu-noble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e659f3

Please sign in to comment.