Skip to content

Commit

Permalink
Switch to xz compression
Browse files Browse the repository at this point in the history
Switch to xz from gzip, since it has a much better compress ratio.

Signed-off-by: Nick Kossifidis <[email protected]>
  • Loading branch information
mickflemm committed Nov 9, 2024
1 parent d9b55dc commit 37d2c54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
run: |
du -s -h /mnt/riscv
./.github/dedup-dir.sh /mnt/riscv/
tar czvf riscv.tar.gz -C /mnt/ riscv/
XZ_OPT="-e -T0" tar cJvf riscv.tar.xz -C /mnt/ riscv/
- name: make report
if: |
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.toolchain-name-generator.outputs.TOOLCHAIN_NAME }}
path: riscv.tar.gz
path: riscv.tar.xz

test-sim:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
run: |
du -s -h /mnt/riscv
./.github/dedup-dir.sh /mnt/riscv/
tar czvf riscv.tar.gz -C /mnt/ riscv/
XZ_OPT="-e -T0" tar cJvf riscv.tar.xz -C /mnt/ riscv/
- name: make report
run: |
Expand All @@ -226,4 +226,4 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.toolchain-name-generator.outputs.TOOLCHAIN_NAME }}
path: riscv.tar.gz
path: riscv.tar.xz
6 changes: 3 additions & 3 deletions .github/workflows/nightly-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
run: |
du -s -h /mnt/riscv
./.github/dedup-dir.sh /mnt/riscv/
tar czvf riscv.tar.gz -C /mnt/ riscv/
XZ_OPT="-e -T0" tar cJvf riscv.tar.xz -C /mnt/ riscv/
- name: generate prebuilt toolchain name
id: toolchain-name-generator
Expand All @@ -105,7 +105,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.toolchain-name-generator.outputs.TOOLCHAIN_NAME }}
path: riscv.tar.gz
path: riscv.tar.xz


create-release:
Expand Down Expand Up @@ -216,4 +216,4 @@ jobs:
upload_url: ${{ needs.create-release.outputs.upload_url }}
asset_path: ${{ matrix.file }}
asset_name: ${{ matrix.artifact }}-${{ needs.create-release.outputs.datestamp }}-nightly${{ matrix.extension }}
asset_content_type: application/gzip
asset_content_type: application/x-xz

0 comments on commit 37d2c54

Please sign in to comment.