@@ -125,32 +125,47 @@ jobs:
125125
126126 linux-aarch64 :
127127 name : Linux-aarch64
128- runs-on : ubuntu-22.04
128+ runs-on : ubuntu-22.04-arm
129129 permissions :
130130 security-events : write
131131 contents : read
132132 steps :
133133 - name : checkout repository
134134 uses : actions/checkout@v4
135135
136- - name : run VM
137- uses : uraimo/run-on-arch-action@v2
138- id : runcmd
139- with :
140- arch : aarch64
141- distro : ubuntu20.04
142- githubToken : ${{ github.token }}
143- run : |
144- uname -a
145- 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 libelf-dev directx-headers-dev rpm
146- cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr .
147- cmake --build . --target package --verbose -j4
148- ./fastfetch --list-features
149- time ./fastfetch -c presets/ci.jsonc --stat false
150- time ./fastfetch -c presets/ci.jsonc --format json
151- time ./flashfetch
152- ldd fastfetch
153- ctest --output-on-failure
136+ - name : uname -a
137+ run : uname -a
138+
139+ - name : install required packages
140+ run : sudo apt-get update && sudo apt-get install -y 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 python3-requests chafa ddcutil
141+
142+ - name : configure project
143+ run : cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DCMAKE_INSTALL_PREFIX=/usr .
144+
145+ - name : build project
146+ run : cmake --build . --target package --verbose -j4
147+
148+ - name : list features
149+ run : ./fastfetch --list-features
150+
151+ - name : run fastfetch
152+ run : time ./fastfetch -c presets/ci.jsonc --stat false
153+
154+ - name : run fastfetch --format json
155+ run : time ./fastfetch -c presets/ci.jsonc --format json
156+
157+ - name : run flashfetch
158+ run : time ./flashfetch
159+
160+ - name : print dependencies
161+ run : ldd fastfetch
162+
163+ - name : run tests
164+ run : ctest --output-on-failure
165+
166+ - name : get fastfetch version
167+ id : ffversion
168+ run : echo "ffversion=$(./fastfetch --version-raw)" >> $GITHUB_OUTPUT
154169
155170 - name : upload artifacts
156171 uses : actions/upload-artifact@v4
0 commit comments