mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 12:05:18 +00:00
3a766030a3
* add workflow for CI on PRs to master or release branch, and every push to master * sprint demo
15 lines
296 B
Bash
Executable File
15 lines
296 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
archs=(amd64)
|
|
dbs=(goleveldb rocksdb)
|
|
OS=linux
|
|
|
|
for db in "${dbs[@]}"
|
|
do
|
|
for arch in "${archs[@]}"
|
|
do
|
|
env GOOS=$OS GOARCH="$arch" make build COSMOS_BUILD_OPTIONS="$db" && aws s3 cp ./out/$OS/kava s3://releases.kava.io/kava/$OS/"$db"/"$BUILD_TAG"
|
|
done
|
|
done
|