-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify the Makefile to build release bundles (#150)
* change to create release bundles in Makefile instead of CI * opt-out of macOS release bundles * fix to select the appropriate libwasmvm.* version used in the repository * remove redandant matrix settings * make the method for getting the libwasmvm libraries the same
- Loading branch information
Showing
6 changed files
with
160 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
# This script is used in the Dockerfiles and installs the lbm dependency libwasmvm.*.a into the container image. | ||
# See also https://github.com/line/wasmvm/releases | ||
|
||
set -e | ||
|
||
WASMVM_VERSION=`go list -m github.com/line/wasmvm | awk '{print $2}' | grep -o 'v\d\+\.\d\+\.\d\+-\d\+\.\d\+\.\d\+'` | ||
curl -L -f -o ./checksums.txt https://github.com/line/wasmvm/releases/download/${WASMVM_VERSION}/checksums.txt | ||
for arch in x86_64 aarch64 | ||
do | ||
curl -L -f -o /lib/libwasmvm_muslc.${arch}.a https://github.com/line/wasmvm/releases/download/${WASMVM_VERSION}/libwasmvm_muslc.$arch.a | ||
CHECKSUM=`grep libwasmvm_muslc.${arch}.a ./checksums.txt | awk '{print $1}'` | ||
if [ -z "${CHECKSUM}" ] | ||
then | ||
echo "ERROR: libwasmvm_muslc.${arch}.a" | ||
cat ./checksums.txt | ||
exit 1 | ||
fi | ||
sha256sum /lib/libwasmvm_muslc.${arch}.a | grep "${CHECKSUM}" | ||
done | ||
rm ./checksums.txt |