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 authored and pionere committed Dec 17, 2024
1 parent 520113c commit 8627328
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -706,20 +706,26 @@ jobs:
- name: hellfire+patch
cmakeargs: '-D DEVILUTIONX_SYSTEM_SDL2=OFF -DUSE_PATCH=ON -DHELLFIRE=ON'
artifact: 'hellfire-nightly-ps4p.pkg'
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 &&
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 && \
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 8627328

Please sign in to comment.