Skip to content

Commit 3b2790c

Browse files
authored
CI (Linux): add Linux ppc64le platform (#1484)
1 parent 3ea0406 commit 3b2790c

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,41 @@ jobs:
232232
name: fastfetch-linux-riscv64
233233
path: ./fastfetch-*.*
234234

235+
linux-ppc64le:
236+
name: Linux-ppc64le
237+
runs-on: ubuntu-22.04
238+
permissions:
239+
security-events: write
240+
contents: read
241+
steps:
242+
- name: checkout repository
243+
uses: actions/checkout@v4
244+
245+
- name: run VM
246+
uses: uraimo/run-on-arch-action@v2
247+
id: runcmd
248+
with:
249+
arch: ppc64le
250+
distro: ubuntu20.04
251+
githubToken: ${{ github.token }}
252+
run: |
253+
uname -a
254+
apt-get update && apt-get install -y cmake make g++ libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libxfconf-0-dev libsqlite3-dev librpm-dev libegl-dev libglx-dev libosmesa6-dev ocl-icd-opencl-dev libpulse-dev libdrm-dev libchafa-dev libelf-dev directx-headers-dev rpm
255+
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr .
256+
cmake --build . --target package --verbose -j4
257+
./fastfetch --list-features
258+
time ./fastfetch -c presets/ci.jsonc --stat false
259+
time ./fastfetch -c presets/ci.jsonc --format json
260+
time ./flashfetch
261+
ldd fastfetch
262+
ctest
263+
264+
- name: upload artifacts
265+
uses: actions/upload-artifact@v4
266+
with:
267+
name: fastfetch-linux-ppc64le
268+
path: ./fastfetch-*.*
269+
235270
musl-amd64:
236271
name: Musl-amd64
237272
runs-on: ubuntu-latest
@@ -578,6 +613,7 @@ jobs:
578613
- linux-aarch64
579614
- linux-armv7
580615
- linux-riscv64
616+
- linux-ppc64le
581617
- musl-amd64
582618
- macos-universal
583619
- freebsd-amd64

0 commit comments

Comments
 (0)