Skip to content

Commit 3afcdc9

Browse files
glebmpionere
authored andcommitted
PS4 workflow: Use pacman-package-manager
Switches from `pacbrew-pacman` to vanilla pacman that is now an Ubuntu package (`pacman-package-manager`) starting from Ubuntu 24.04. pacbrew-pacman from https://github.com/PacBrew/pacbrew-pacman/releases is 2 years old and has the repo URL that no longer works. With the vanilla pacman, we simply add pacbrew as a repo source with the correct URL. Refs PacBrew/pacbrew-packages#6 (comment)
1 parent a34aae7 commit 3afcdc9

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/cmake.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
# well on Windows or Mac. You can convert this to a matrix build if you need
1414
# cross-platform coverage.
1515
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04
1717

1818
steps:
1919
- name: Checkout
@@ -22,12 +22,18 @@ jobs:
2222
fetch-depth: 0
2323

2424
- name: Create Build Environment
25-
run: >
26-
sudo apt-get update &&
27-
sudo apt-get install -y wget cmake git gettext &&
28-
wget https://github.com/PacBrew/pacbrew-pacman/releases/download/v1.1/pacbrew-pacman-1.1.deb &&
29-
sudo dpkg -i pacbrew-pacman-1.1.deb && sudo pacbrew-pacman -Sy &&
30-
sudo pacbrew-pacman --noconfirm -S ps4-openorbis ps4-openorbis-portlibs &&
25+
run: |
26+
sudo apt-get update && \
27+
sudo apt-get install -y pacman-package-manager wget cmake git gettext && \
28+
sudo tee -a /etc/pacman.conf > /dev/null <<TEXT
29+
[pacbrew]
30+
SigLevel = Optional TrustAll
31+
Server = https://pacman.mydedibox.fr/pacbrew/packages/
32+
TEXT
33+
- name: Setup pacman packages
34+
run: |
35+
sudo pacman --noconfirm -Sy && \
36+
sudo pacman --noconfirm -S ps4-openorbis ps4-openorbis-portlibs && \
3137
echo "#include <endian.h>" | sudo tee /opt/pacbrew/ps4/openorbis/include/sys/endian.h
3238
3339
- name: Build

0 commit comments

Comments
 (0)