mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Publish soljson and alpine static build on github release page.
This commit is contained in:
parent
245c8914cf
commit
3f83bb80bf
12
.travis.yml
12
.travis.yml
@ -176,7 +176,12 @@ install:
|
||||
- test $SOLC_INSTALL_DEPS_TRAVIS != On || (scripts/install_deps.sh)
|
||||
- test "$TRAVIS_OS_NAME" != "linux" || (scripts/install_cmake.sh)
|
||||
- echo -n "$TRAVIS_COMMIT" > commit_hash.txt
|
||||
- test $SOLC_DOCKER != On || (docker build -t ethereum/solc:build -f scripts/Dockerfile .)
|
||||
- test $SOLC_DOCKER != On || (
|
||||
docker build -t ethereum/solc:build -f scripts/Dockerfile .
|
||||
tmp_container=$(docker create brainbot-com/solidity-static sh)
|
||||
mkdir -p upload
|
||||
docker cp ${tmp_container}:/usr/local/bin/solc upload/
|
||||
)
|
||||
|
||||
before_script:
|
||||
- test $SOLC_EMSCRIPTEN != On || (scripts/build_emscripten.sh)
|
||||
@ -223,11 +228,8 @@ deploy:
|
||||
|
||||
overwrite: true
|
||||
file_glob: true
|
||||
file:
|
||||
- $TRAVIS_BUILD_DIR/solidity*.zip
|
||||
- $TRAVIS_BUILD_DIR/solidity*tar.gz
|
||||
file: $TRAVIS_BUILD_DIR/upload/*
|
||||
skip_cleanup: true
|
||||
on:
|
||||
all_branches: true
|
||||
tags: true
|
||||
condition: $SOLC_RELEASE == On
|
||||
|
@ -29,6 +29,7 @@ REPO_ROOT="$(dirname "$0")"/..
|
||||
# Add dependencies
|
||||
mkdir -p "$SOLDIR/deps/downloads/" 2>/dev/null || true
|
||||
wget -O "$SOLDIR/deps/downloads/jsoncpp-1.7.7.tar.gz" https://github.com/open-source-parsers/jsoncpp/archive/1.7.7.tar.gz
|
||||
tar czf "$REPO_ROOT/solidity_$versionstring.tar.gz" -C "$TEMPDIR" "solidity_$versionstring"
|
||||
mkdir -p "$REPO_ROOT/upload"
|
||||
tar czf "$REPO_ROOT/upload/solidity_$versionstring.tar.gz" -C "$TEMPDIR" "solidity_$versionstring"
|
||||
rm -r "$TEMPDIR"
|
||||
)
|
||||
|
@ -88,5 +88,5 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
fi
|
||||
|
||||
# And ZIP it all up, with a filename suffix passed in on the command-line.
|
||||
|
||||
zip -j $REPO_ROOT/solidity-$ZIP_SUFFIX.zip $ZIP_TEMP_DIR/*
|
||||
mkdir -p $REPO_ROOT/upload
|
||||
zip -j $REPO_ROOT/upload/solidity-$ZIP_SUFFIX.zip $ZIP_TEMP_DIR/*
|
||||
|
@ -94,6 +94,8 @@ emmake make -j 4
|
||||
|
||||
cd ..
|
||||
cp build/solc/soljson.js ./
|
||||
mkdir -p upload
|
||||
cp soljson.js upload/
|
||||
|
||||
OUTPUT_SIZE=`ls -la build/solc/soljson.js`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user