Skip to content

Commit

Permalink
sha
Browse files Browse the repository at this point in the history
  • Loading branch information
jungleraptor committed Apr 26, 2023
1 parent 7f140bd commit 4b09920
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/musl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
toolchains:
strategy:
matrix:
target: [aarch64-linux-musl, arm-linux-muleabifh, x86_64-linux-musl]
target: [aarch64-linux-musl, arm-linux-musleabihf, x86_64-linux-musl]
runs-on: ubuntu-22.04
name: ${{ matrix.target }}
steps:
Expand All @@ -30,7 +30,7 @@ jobs:
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "${{ matrix.target }}.tar.gz"
file: "${{ matrix.target }}.tar.gz*"
tag: ${{ github.ref }}
overwrite: true
file_glob: true
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ arm-linux-musleabihf:
docker build --tag 'rust-musl-cross' musl
docker run --rm -v $(CURDIR):/mnt/workspace -w /mnt/workspace rust-musl-cross musl/build.sh arm-linux-musleabihf

aarch64-linux-musl:
docker build --tag 'rust-musl-cross' musl
docker run --rm -v $(CURDIR):/mnt/workspace -w /mnt/workspace rust-musl-cross musl/build.sh aarch64-linux-musl

x86_64-linux-musl:
docker build --tag 'rust-musl-cross' musl
docker run --rm -v $(CURDIR):/mnt/workspace -w /mnt/workspace rust-musl-cross musl/build.sh x86_64-linux-musl

base: check-base
$(CURDIR)/base.bash $(NO_TTY_ARG)

Expand Down
1 change: 1 addition & 0 deletions musl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ export TARGET=$target
make -C /tmp/musl -j4
make -C /tmp/musl install
tar -C /tmp/musl -czf ${target}.tar.gz output/
sha256sum ${target}.tar.gz > ${target}.tar.gz.sha256

0 comments on commit 4b09920

Please sign in to comment.