Skip to content

Commit

Permalink
feat(ci): compress raw imgs using zstd -19
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko authored Sep 23, 2024
1 parent 7668c19 commit f802767
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
echo "COLORBT_SHOW_HIDDEN=1" >> .env
echo "KATSU_LOG=trace" >> .env
katsu -o disk-image katsu-arm.yaml 2>&1
mv katsu-work/image/katsu.img katsu-work/image/katsu-arm.img
zstd -19 katsu-work/image/katsu.img -c > katsu-work/image/katsu-arm.raw.zstd
popd
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: image-arm
path: tests/ng/katsu-work/image/*.img
path: tests/ng/katsu-work/image/*.raw.zstd

image-x86_64:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -131,13 +131,14 @@ jobs:
echo "COLORBT_SHOW_HIDDEN=1" >> .env
echo "KATSU_LOG=trace" >> .env
katsu -o disk-image katsu.yaml 2>&1
zstd -19 katsu-work/image/katsu.img -c > katsu-work/image/katsu.raw.zstd
popd
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: image-x86_64
path: tests/ng/katsu-work/image/*.img
path: tests/ng/katsu-work/image/*.raw.zstd

iso-x86_64:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f802767

Please sign in to comment.