Skip to content

Commit b7dd7fe

Browse files
committed
CI: add linux-armv6
1 parent cc51596 commit b7dd7fe

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,42 @@ jobs:
197197
name: fastfetch-linux-armv7
198198
path: ./fastfetch-*.*
199199

200+
linux-armv6:
201+
name: Linux-armv6
202+
runs-on: ubuntu-22.04
203+
permissions:
204+
security-events: write
205+
contents: read
206+
steps:
207+
- name: checkout repository
208+
uses: actions/checkout@v4
209+
210+
- name: run VM
211+
uses: uraimo/run-on-arch-action@v2
212+
id: runcmd
213+
with:
214+
arch: armv6
215+
distro: bookworm
216+
githubToken: ${{ github.token }}
217+
run: |
218+
uname -a
219+
apt-get update && apt-get install -y wget
220+
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 libelf-dev directx-headers-dev rpm
221+
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr .
222+
cmake --build . --target package --verbose -j4
223+
./fastfetch --list-features
224+
time ./fastfetch -c presets/ci.jsonc --stat false
225+
time ./fastfetch -c presets/ci.jsonc --format json
226+
time ./flashfetch
227+
ldd fastfetch
228+
ctest
229+
230+
- name: upload artifacts
231+
uses: actions/upload-artifact@v4
232+
with:
233+
name: fastfetch-linux-armv6
234+
path: ./fastfetch-*.*
235+
200236
linux-riscv64:
201237
name: Linux-riscv64
202238
runs-on: ubuntu-22.04
@@ -612,6 +648,7 @@ jobs:
612648
- linux-amd64
613649
- linux-aarch64
614650
- linux-armv7
651+
- linux-armv6
615652
- linux-riscv64
616653
- linux-ppc64le
617654
- musl-amd64

0 commit comments

Comments
 (0)