-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from ConcealNetwork/6.2.1
version 6.2.1
- Loading branch information
Showing
34 changed files
with
11,897 additions
and
7,054 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: ARM | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build-arm: | ||
name: ARM | ||
runs-on: ARM | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Build | ||
id: build | ||
run: | | ||
BOOST_ROOT= | ||
build_folder="build/debug" | ||
ccx_ver=$(echo "$GITHUB_REF" | sed 's|refs/tags/||') | ||
ccx_ver_folder=$(echo $ccx_ver | sed 's/\.//g') | ||
release_name=ccx-cli-arm32-v"$ccx_ver" | ||
mkdir -p "$build_folder" | ||
cd "$build_folder" | ||
cmake ../.. | ||
make -j4 | ||
mkdir -p "$release_name/$ccx_ver_folder" | ||
exeFiles=() | ||
for f in src/*; do [[ -x $f && -f $f ]] && exeFiles+=( "$f" ); done | ||
cp "${exeFiles[@]}" "$release_name/$ccx_ver_folder" | ||
cd "$release_name" | ||
tar -czf "$release_name".tar.gz "$ccx_ver_folder" | ||
sha256=$(shasum -a 256 "$release_name".tar.gz | awk '{print toupper($1)}') | ||
asset_path="./$build_folder/$release_name/$release_name.tar.gz" | ||
echo "::set-output name=sha256::${sha256}" | ||
echo "::set-output name=release_name::${release_name}.tar.gz" | ||
echo "::set-output name=asset_path::${asset_path}" | ||
echo "::set-output name=ccx_ver::${ccx_ver}" | ||
- name: Create Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ${{ steps.build.outputs.asset_path }} | ||
name: Conceal Core CLI v${{ steps.build.outputs.ccx_ver }} | ||
body: | | ||
**${{ steps.build.outputs.release_name }}** | ||
${{ steps.build.outputs.sha256 }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,49 @@ | ||
name: ARM64 | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build-arm64: | ||
name: ARM64 | ||
runs-on: ARM64 | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Build | ||
id: build | ||
run: | | ||
BOOST_ROOT= | ||
build_folder="build/debug" | ||
ccx_ver=$(echo "$GITHUB_REF" | sed 's|refs/tags/||') | ||
ccx_ver_folder=$(echo $ccx_ver | sed 's/\.//g') | ||
release_name=ccx-cli-arm64-v"$ccx_ver" | ||
mkdir -p "$build_folder" | ||
cd "$build_folder" | ||
cmake ../.. | ||
make -j4 | ||
mkdir -p "$release_name/$ccx_ver_folder" | ||
exeFiles=() | ||
for f in src/*; do [[ -x $f && -f $f ]] && exeFiles+=( "$f" ); done | ||
cp "${exeFiles[@]}" "$release_name/$ccx_ver_folder" | ||
cd "$release_name" | ||
tar -czf "$release_name".tar.gz "$ccx_ver_folder" | ||
sha256=$(shasum -a 256 "$release_name".tar.gz | awk '{print toupper($1)}') | ||
asset_path="./$build_folder/$release_name/$release_name.tar.gz" | ||
echo "::set-output name=sha256::${sha256}" | ||
echo "::set-output name=release_name::${release_name}.tar.gz" | ||
echo "::set-output name=asset_path::${asset_path}" | ||
echo "::set-output name=ccx_ver::${ccx_ver}" | ||
- name: Create Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ${{ steps.build.outputs.asset_path }} | ||
name: Conceal Core CLI v${{ steps.build.outputs.ccx_ver }} | ||
body: | | ||
**${{ steps.build.outputs.release_name }}** | ||
${{ steps.build.outputs.sha256 }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
- '*' | ||
|
||
jobs: | ||
build-ubuntu16: | ||
build-ubuntu18: | ||
name: Ubuntu 18.04 | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
|
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,55 @@ | ||
name: Ubuntu 20.04 | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build-ubuntu20: | ||
name: Ubuntu 20.04 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Build | ||
id: build | ||
run: | | ||
sudo fallocate -l 6G /swapfile | ||
sudo chmod 600 /swapfile | ||
sudo mkswap /swapfile | ||
sudo swapon /swapfile | ||
BOOST_ROOT= | ||
sudo apt-get purge '*boost*' | ||
sudo apt install -y libboost-all-dev | ||
build_folder="build/debug" | ||
ccx_ver=$(echo "$GITHUB_REF" | sed 's|refs/tags/||') | ||
ccx_ver_folder=$(echo $ccx_ver | sed 's/\.//g') | ||
release_name=ccx-cli-ubuntu-2004-v"$ccx_ver" | ||
mkdir -p "$build_folder" | ||
cd "$build_folder" | ||
cmake ../.. | ||
make -j2 | ||
mkdir -p "$release_name/$ccx_ver_folder" | ||
exeFiles=() | ||
for f in src/*; do [[ -x $f && -f $f ]] && exeFiles+=( "$f" ); done | ||
cp "${exeFiles[@]}" "$release_name/$ccx_ver_folder" | ||
cd "$release_name" | ||
tar -czf "$release_name".tar.gz "$ccx_ver_folder" | ||
sha256=$(shasum -a 256 "$release_name".tar.gz | awk '{print toupper($1)}') | ||
asset_path="./$build_folder/$release_name/$release_name.tar.gz" | ||
echo "::set-output name=sha256::${sha256}" | ||
echo "::set-output name=release_name::${release_name}.tar.gz" | ||
echo "::set-output name=asset_path::${asset_path}" | ||
echo "::set-output name=ccx_ver::${ccx_ver}" | ||
- name: Create Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ${{ steps.build.outputs.asset_path }} | ||
name: Conceal Core CLI v${{ steps.build.outputs.ccx_ver }} | ||
body: | | ||
**${{ steps.build.outputs.release_name }}** | ||
${{ steps.build.outputs.sha256 }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.