Skip to content

Commit

Permalink
PS4 workflow: Use pacman-package-manager
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
glebm committed Nov 26, 2024
1 parent 36e0abf commit aaf1e4e
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/PS4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,26 @@ concurrency:

jobs:
ps4:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create Build Environment
run: >
sudo apt-get update &&
sudo apt-get install -y wget cmake git gettext smpq &&
wget https://github.com/PacBrew/pacbrew-pacman/releases/download/v1.1/pacbrew-pacman-1.1.deb &&
sudo dpkg -i pacbrew-pacman-1.1.deb && sudo pacbrew-pacman -Sy &&
sudo pacbrew-pacman --noconfirm -S ps4-openorbis ps4-openorbis-portlibs &&
run: |
sudo apt-get update && \
sudo apt-get install -y pacman-package-manager wget cmake git gettext smpq && \
sudo tee -a /etc/pacman.conf > /dev/null <<TEXT
[pacbrew]
SigLevel = Optional TrustAll
Server = https://pacman.mydedibox.fr/pacbrew/packages/
TEXT
- name: Setup pacman packages
run: |
sudo pacman --noconfirm -Sy && \
sudo pacman --noconfirm -S ps4-openorbis ps4-openorbis-portlibs && \
echo "#include <endian.h>" | sudo tee /opt/pacbrew/ps4/openorbis/include/sys/endian.h
- name: Build
Expand Down

0 comments on commit aaf1e4e

Please sign in to comment.