Skip to content

Commit c5c846a

Browse files
committed
CI: try build for Linux armv7
1 parent 23a59a1 commit c5c846a

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
@@ -158,6 +158,41 @@ jobs:
158158
name: fastfetch-linux-aarch64
159159
path: ./fastfetch-*.*
160160

161+
linux-armv7:
162+
name: Linux-armv7
163+
runs-on: ubuntu-22.04
164+
permissions:
165+
security-events: write
166+
contents: read
167+
steps:
168+
- name: checkout repository
169+
uses: actions/checkout@v4
170+
171+
- name: run VM
172+
uses: uraimo/run-on-arch-action@v2
173+
id: runcmd
174+
with:
175+
arch: armv7
176+
distro: ubuntu22.04
177+
githubToken: ${{ github.token }}
178+
run: |
179+
uname -a
180+
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 libnm-dev libpulse-dev libdrm-dev libddcutil-dev libchafa-dev directx-headers-dev rpm
181+
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr .
182+
cmake --build . --target package --verbose -j4
183+
./fastfetch --list-features
184+
time ./fastfetch -c presets/ci.jsonc
185+
time ./fastfetch -c presets/ci.jsonc --format json
186+
time ./flashfetch
187+
ldd fastfetch
188+
ctest
189+
190+
- name: upload artifacts
191+
uses: actions/upload-artifact@v4
192+
with:
193+
name: fastfetch-linux-armv7
194+
path: ./fastfetch-*.*
195+
161196
musl-amd64:
162197
name: Musl-amd64
163198
runs-on: ubuntu-latest
@@ -501,6 +536,7 @@ jobs:
501536
needs:
502537
- linux-amd64
503538
- linux-aarch64
539+
- linux-armv7
504540
- musl-amd64
505541
- musl-aarch64
506542
- macos-universal

0 commit comments

Comments
 (0)