-
Notifications
You must be signed in to change notification settings - Fork 134
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 #397 from Raptor3um/release/2.0.3-rc
Release/2.0.3
- Loading branch information
Showing
2,555 changed files
with
522,598 additions
and
117,335 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 |
---|---|---|
|
@@ -4,9 +4,9 @@ on: | |
branches: | ||
- master | ||
- develop | ||
- 'ft/*' | ||
- 'bug/*' | ||
- 'release/*' | ||
- "ft/*" | ||
- "bug/*" | ||
- "release/*" | ||
pull_request: | ||
branches: | ||
- develop | ||
|
@@ -35,7 +35,7 @@ jobs: | |
uses: christian-draeger/[email protected] | ||
with: | ||
path: build.properties | ||
properties: 'release-version candidate-version snapshot-version' | ||
properties: "release-version candidate-version snapshot-version" | ||
|
||
- name: Choose version | ||
id: selected-version | ||
|
@@ -73,7 +73,7 @@ jobs: | |
- name: Install Required Packages | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install curl build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils cmake -y | ||
sudo apt-get install curl libcurl4-openssl-dev build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils cmake -y | ||
- name: Build Depends | ||
run: | | ||
echo "building with $(nproc) threads" | ||
|
@@ -90,8 +90,8 @@ jobs: | |
run: | | ||
make -j$(nproc) | ||
mkdir -p ${BUILD_DIR} ${BUILD_DIR}_not_strip ${TEST_DIR} | ||
cp src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}/ | ||
mv src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_not_strip/ | ||
cp src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}/ | ||
mv src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_not_strip/ | ||
mv src/test/test_raptoreum ${TEST_DIR} | ||
strip ${BUILD_DIR}/* | ||
|
@@ -100,10 +100,10 @@ jobs: | |
make clean | ||
make distclean | ||
./autogen.sh | ||
./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu --disable-tests --enable-debug | ||
./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu --disable-tests --enable-debug --enable-crash-hooks | ||
make -j$(nproc) | ||
mkdir -p ${BUILD_DIR}_debug | ||
mv src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_debug/ | ||
mv src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_debug/ | ||
- name: Generate Checksum and Compress | ||
run: | | ||
|
@@ -164,7 +164,7 @@ jobs: | |
|
||
test-ubuntu20: | ||
name: Ubuntu 20 Tests | ||
needs: [ get-version, build-ubuntu20 ] | ||
needs: [get-version, build-ubuntu20] | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
|
@@ -176,8 +176,8 @@ jobs: | |
- name: Run Unit Tests | ||
id: Tests | ||
run: | | ||
chmod +x test_raptoreum | ||
./test_raptoreum --log_format=JUNIT > unit_test_results.xml | ||
chmod +x test_raptoreum | ||
./test_raptoreum --log_format=JUNIT > unit_test_results.xml | ||
- name: Upload Test Artifacts | ||
uses: actions/upload-artifact@v3 | ||
|
@@ -193,7 +193,7 @@ jobs: | |
check_name: "Ubuntu 20" | ||
detailed_summary: ${{ steps.Tests.conclusion == 'failure'}} | ||
include_passed: false | ||
report_paths: 'unit_test_results.xml' | ||
report_paths: "unit_test_results.xml" | ||
|
||
build-ubuntu22: | ||
name: Ubuntu 22 Build | ||
|
@@ -207,7 +207,7 @@ jobs: | |
- name: Install Required Packages | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install curl build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils cmake -y | ||
sudo apt-get install curl libcurl4-openssl-dev build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils cmake -y | ||
- name: Build Depends | ||
run: | | ||
|
@@ -220,13 +220,15 @@ jobs: | |
run: | | ||
./autogen.sh | ||
./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu | ||
# TODO: @Jami - this line was from malbit, I think we may not need it but could you help confirm? | ||
# CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site ./configure | ||
|
||
- name: Build Binaries | ||
run: | | ||
make -j$(nproc) | ||
mkdir -p ${BUILD_DIR} ${BUILD_DIR}_not_strip ${TEST_DIR} | ||
cp src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}/ | ||
mv src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_not_strip/ | ||
cp src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}/ | ||
mv src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_not_strip/ | ||
mv src/test/test_raptoreum ${TEST_DIR} | ||
strip ${BUILD_DIR}/* | ||
|
@@ -235,10 +237,10 @@ jobs: | |
make clean | ||
make distclean | ||
./autogen.sh | ||
./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu --disable-tests --enable-debug | ||
./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu --disable-tests --enable-debug --enable-crash-hooks | ||
make -j$(nproc) | ||
mkdir -p ${BUILD_DIR}_debug | ||
mv src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_debug/ | ||
mv src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_debug/ | ||
- name: Generate Checksum and Compress | ||
run: | | ||
|
@@ -299,7 +301,7 @@ jobs: | |
|
||
test-ubuntu22: | ||
name: Ubuntu 22 Tests | ||
needs: [ get-version, build-ubuntu22 ] | ||
needs: [get-version, build-ubuntu22] | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
|
@@ -328,21 +330,22 @@ jobs: | |
check_name: "Ubuntu 22" | ||
detailed_summary: ${{ steps.Tests.conclusion == 'failure'}} | ||
include_passed: false | ||
report_paths: 'unit_test_results.xml' | ||
report_paths: "unit_test_results.xml" | ||
|
||
build-macos: | ||
name: macOS 11 Build | ||
name: macOS 12 Build | ||
needs: get-version | ||
runs-on: macos-11 | ||
runs-on: macos-12 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Required Packages | ||
run: | | ||
brew install automake libtool pkg-config miniupnpc librsvg libnatpmp zeromq python | ||
brew install automake libtool pkg-config librsvg libnatpmp python | ||
pip3 install ds_store mac_alias | ||
pip3 install -U pip setuptools | ||
- name: Build Depends | ||
run: | | ||
|
@@ -359,8 +362,8 @@ jobs: | |
run: | | ||
make -j8 | ||
mkdir -p ${BUILD_DIR} ${BUILD_DIR}_not_strip ${TEST_DIR} | ||
cp src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}/ | ||
mv src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_not_strip/ | ||
cp src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}/ | ||
mv src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_not_strip/ | ||
mv src/test/test_raptoreum ${TEST_DIR} | ||
strip ${BUILD_DIR}/* | ||
|
@@ -413,10 +416,10 @@ jobs: | |
run: | | ||
make deploy | ||
mkdir -p macos-dmg | ||
mv Raptoreum-Qt.dmg macos-dmg/ | ||
mv Raptoreum-Core.dmg macos-dmg/ | ||
cd macos-dmg | ||
echo "sha256: `shasum Raptoreum-Qt.dmg`" >> checksums.txt | ||
echo "openssl-sha256: `openssl sha256 Raptoreum-Qt.dmg`" >> checksums.txt | ||
echo "sha256: `shasum Raptoreum-Core.dmg`" >> checksums.txt | ||
echo "openssl-sha256: `openssl sha256 Raptoreum-Core.dmg`" >> checksums.txt | ||
cd .. | ||
- name: Upload dmg file | ||
|
@@ -427,8 +430,8 @@ jobs: | |
|
||
test-macos: | ||
name: macOS Tests | ||
needs: [ get-version, build-macos ] | ||
runs-on: macos-11 | ||
needs: [get-version, build-macos] | ||
runs-on: macos-12 | ||
|
||
steps: | ||
- name: Download Artifacts | ||
|
@@ -456,7 +459,7 @@ jobs: | |
check_name: "macOS 11" | ||
detailed_summary: ${{ steps.Tests.conclusion == 'failure'}} | ||
include_passed: false | ||
report_paths: 'unit_test_results.xml' | ||
report_paths: "unit_test_results.xml" | ||
|
||
# build-arm-32: | ||
# name: ARM 32-bit Build | ||
|
@@ -487,7 +490,7 @@ jobs: | |
# run: | | ||
# make -j$(nproc) | ||
# mkdir -p ${BUILD_DIR} ${TEST_DIR} | ||
# mv src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}/ | ||
# mv src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}/ | ||
# mv src/test/test_raptoreum ${TEST_DIR} | ||
|
||
# - name: Build Debug Binaries | ||
|
@@ -498,7 +501,7 @@ jobs: | |
# ./configure --prefix=`pwd`/depends/arm-linux-gnueabihf --disable-tests --enable-debug | ||
# make -j$(nproc) | ||
# mkdir -p ${BUILD_DIR}_debug | ||
# mv src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_debug/ | ||
# mv src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_debug/ | ||
|
||
# - name: Generate Checksum and Compress | ||
# run: | | ||
|
@@ -598,7 +601,7 @@ jobs: | |
- name: Install Required Packages | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install curl build-essential libtool g++-aarch64-linux-gnu autotools-dev automake pkg-config python3 bsdmainutils cmake -y | ||
sudo apt-get install curl libcurl4-openssl-dev build-essential libtool g++-aarch64-linux-gnu autotools-dev automake pkg-config python3 bsdmainutils cmake -y | ||
- name: Build Depends | ||
run: | | ||
|
@@ -615,18 +618,18 @@ jobs: | |
run: | | ||
make -j$(nproc) | ||
mkdir -p ${BUILD_DIR} ${TEST_DIR} | ||
mv src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}/ | ||
mv src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}/ | ||
mv src/test/test_raptoreum ${TEST_DIR}/ | ||
- name: Build Debug Binaries | ||
run: | | ||
make clean | ||
make distclean | ||
./autogen.sh | ||
./configure --prefix=`pwd`/depends/aarch64-linux-gnu --disable-tests --enable-debug | ||
./configure --prefix=`pwd`/depends/aarch64-linux-gnu --disable-tests --enable-debug --enable-crash-hooks | ||
make -j$(nproc) | ||
mkdir -p ${BUILD_DIR}_debug | ||
mv src/{raptoreum-cli,raptoreum-tx,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_debug/ | ||
mv src/{raptoreum-cli,raptoreumd,qt/raptoreum-qt} ${BUILD_DIR}_debug/ | ||
- name: Generate Checksum and Compress | ||
run: | | ||
|
@@ -675,7 +678,7 @@ jobs: | |
|
||
test-arm-64: | ||
name: ARM 64-bit Tests | ||
needs: [ get-version, build-arm-64 ] | ||
needs: [get-version, build-arm-64] | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
|
@@ -694,8 +697,8 @@ jobs: | |
copy_artifact_path: unit_test_results.xml | ||
copy_artifacts_on_fail: yes | ||
commands: | | ||
chmod +x test_raptoreum | ||
./test_raptoreum --log_format=JUNIT > unit_test_results.xml | ||
chmod +x test_raptoreum | ||
./test_raptoreum --log_format=JUNIT > unit_test_results.xml | ||
- name: Upload Test Artifacts | ||
uses: actions/upload-artifact@v3 | ||
|
@@ -711,7 +714,7 @@ jobs: | |
check_name: "ARM 64-bit" | ||
detailed_summary: ${{ steps.Tests.conclusion == 'failure'}} | ||
include_passed: false | ||
report_paths: 'unit_test_results.xml' | ||
report_paths: "unit_test_results.xml" | ||
|
||
build-win64: | ||
name: Win64 Build | ||
|
@@ -725,7 +728,7 @@ jobs: | |
- name: Install Required Packages | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install curl build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils cmake -y | ||
sudo apt-get install curl libcurl4-openssl-dev build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils cmake -y | ||
sudo apt-get install -y g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64 nsis | ||
sudo update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix | ||
sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix | ||
|
@@ -741,13 +744,14 @@ jobs: | |
./autogen.sh | ||
export FALLBACK_DOWNLOAD_PATH=https://pool.nowput.org/depends/ | ||
./configure --prefix=`pwd`/depends/x86_64-w64-mingw32 | ||
# CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure | ||
|
||
- name: Build Binaries | ||
run: | | ||
make -j$(nproc) | ||
mkdir -p ${BUILD_DIR} ${BUILD_DIR}_not_strip ${TEST_DIR} | ||
cp src/{raptoreum-cli.exe,raptoreum-tx.exe,raptoreumd.exe,qt/raptoreum-qt.exe} ${BUILD_DIR}/ | ||
mv src/{raptoreum-cli.exe,raptoreum-tx.exe,raptoreumd.exe,qt/raptoreum-qt.exe} ${BUILD_DIR}_not_strip/ | ||
cp src/{raptoreum-cli.exe,raptoreumd.exe,qt/raptoreum-qt.exe} ${BUILD_DIR}/ | ||
mv src/{raptoreum-cli.exe,raptoreumd.exe,qt/raptoreum-qt.exe} ${BUILD_DIR}_not_strip/ | ||
mv src/test/test_raptoreum.exe ${TEST_DIR} | ||
strip ${BUILD_DIR}/* | ||
|
@@ -814,7 +818,7 @@ jobs: | |
|
||
test-win64: | ||
name: Win64 Tests | ||
needs: [ get-version, build-win64 ] | ||
needs: [get-version, build-win64] | ||
runs-on: windows-latest | ||
|
||
steps: | ||
|
@@ -849,4 +853,4 @@ jobs: | |
check_name: "Win64" | ||
detailed_summary: ${{ steps.Tests.conclusion == 'failure'}} | ||
include_passed: false | ||
report_paths: 'unit_test_results.xml' | ||
report_paths: "unit_test_results.xml" |
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
Oops, something went wrong.