-
Notifications
You must be signed in to change notification settings - Fork 796
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into network/vote-flooding-disable-until-boots…
…trap-cemented
- Loading branch information
Showing
251 changed files
with
7,054 additions
and
5,024 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,82 @@ | ||
name: Beta | ||
|
||
on: | ||
push: | ||
tags: | ||
- V*RC* | ||
- V*DB* | ||
env: | ||
BETA: 1 | ||
artifact: 1 | ||
|
||
jobs: | ||
osx_job: | ||
runs-on: macOS-latest | ||
env: | ||
BOOST_ROOT: /tmp/boost | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- uses: chrislennon/action-aws-cli@1347f1d | ||
- name: tag | ||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`" | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/osx/install_deps.sh | ||
- name: Build Artifact | ||
run: TRAVIS_TAG=${TAG} ci/build-deploy.sh "/tmp/qt/lib/cmake/Qt5"; | ||
- name: Deploy Artifact | ||
run: ci/actions/deploy.sh | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_DEFAULT_REGION: us-east-2 | ||
|
||
linux_job: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- uses: chrislennon/action-aws-cli@1347f1d | ||
- name: tag | ||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`" | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/linux/install_deps.sh | ||
- name: Build Artifact | ||
run: docker run -v ${GITHUB_WORKSPACE}:/workspace nanocurrency/nano-env:gcc /bin/bash -c "cd /workspace && BETA=1 TRAVIS_TAG=${TAG} ci/build-deploy.sh /usr/lib/x86_64-linux-gnu/cmake/Qt5 ${PWD}" | ||
- name: Deploy Artifact | ||
run: ci/actions/deploy.sh | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_DEFAULT_REGION: us-east-2 | ||
- name: Deploy Docker (nanocurrency/nano-beta) | ||
run: TRAVIS_TAG=${TAG} ci/actions/linux/deploy-docker.sh | ||
env: | ||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
windows_job: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- uses: chrislennon/action-aws-cli@1347f1d | ||
- name: tag | ||
run: | | ||
$TRAVIS_TAG=git describe --tags $GITHUB_SHA | ||
echo "::set-env name=TAG::$TRAVIS_TAG" | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/windows/install_deps.ps1 | ||
- name: Build Artifact | ||
run: ci/actions/windows/build.ps1 | ||
env: | ||
CSC_LINK: ${{ secrets.CSC_LINK }} | ||
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | ||
- name: Deploy Artifact | ||
run: ci/actions/windows/deploy.ps1 | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_DEFAULT_REGION: us-east-2 |
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,19 @@ | ||
name: Develop | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
jobs: | ||
linux_job: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/linux/install_deps.sh | ||
- name: Deploy Docker (nanocurrency/nano-env) | ||
run: ci/actions/linux/deploy-docker.sh | ||
env: | ||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} |
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,81 @@ | ||
name: Live | ||
|
||
on: | ||
push: | ||
tags-ignore: | ||
- '*RC*' | ||
- '*DB*' | ||
env: | ||
artifact: 1 | ||
|
||
jobs: | ||
osx_job: | ||
runs-on: macOS-latest | ||
env: | ||
BOOST_ROOT: /tmp/boost | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- uses: chrislennon/action-aws-cli@1347f1d | ||
- name: tag | ||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`" | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/osx/install_deps.sh | ||
- name: Build Artifact | ||
run: TRAVIS_TAG=${TAG} ci/build-deploy.sh "/tmp/qt/lib/cmake/Qt5"; | ||
- name: Deploy Artifact | ||
run: ci/actions/deploy.sh | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_DEFAULT_REGION: us-east-2 | ||
|
||
linux_job: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- uses: chrislennon/action-aws-cli@1347f1d | ||
- name: tag | ||
run: echo "::set-env name=TAG::`git describe --tags $GITHUB_SHA`" | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/linux/install_deps.sh | ||
- name: Build Artifact | ||
run: docker run -v ${GITHUB_WORKSPACE}:/workspace nanocurrency/nano-env:gcc /bin/bash -c "cd /workspace && TRAVIS_TAG=${TAG} ci/build-deploy.sh /usr/lib/x86_64-linux-gnu/cmake/Qt5 ${PWD}" | ||
- name: Deploy Artifact | ||
run: ci/actions/deploy.sh | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_DEFAULT_REGION: us-east-2 | ||
- name: Deploy Docker (nanocurrency/nano) | ||
run: TRAVIS_TAG=${TAG} ci/actions/linux/deploy-docker.sh | ||
env: | ||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
windows_job: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- uses: chrislennon/action-aws-cli@1347f1d | ||
- name: tag | ||
run: | | ||
$TRAVIS_TAG=git describe --tags $GITHUB_SHA | ||
echo "::set-env name=TAG::$TRAVIS_TAG" | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/windows/install_deps.ps1 | ||
- name: Build Artifact | ||
run: ci/actions/windows/build.ps1 | ||
env: | ||
CSC_LINK: ${{ secrets.CSC_LINK }} | ||
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | ||
- name: Deploy Artifact | ||
run: ci/actions/windows/deploy.ps1 | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_DEFAULT_REGION: us-east-2 |
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,56 @@ | ||
name: Release Tests | ||
|
||
on: | ||
push: | ||
tags: '*' | ||
|
||
env: | ||
RELEASE: 1 | ||
artifact: 0 | ||
|
||
jobs: | ||
osx_test: | ||
runs-on: macOS-latest | ||
env: | ||
BOOST_ROOT: /tmp/boost | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: TEST=1 ci/actions/osx/install_deps.sh | ||
- name: Run Tests | ||
run: ci/build-travis.sh "/tmp/qt/lib/cmake/Qt5"; | ||
|
||
gcc_test: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/linux/install_deps.sh | ||
- name: Run Tests | ||
run: docker run -v ${PWD}:/workspace nanocurrency/nano-env:gcc /bin/bash -c "cd /workspace && RELEASE=1 ./ci/build-travis.sh /usr/lib/x86_64-linux-gnu/cmake/Qt5 ${PWD}" | ||
|
||
clang_test: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/linux/install_deps.sh | ||
- name: Run Tests | ||
run: docker run -v ${PWD}:/workspace nanocurrency/nano-env:clang /bin/bash -c "cd /workspace && RELEASE=1 ./ci/build-travis.sh /usr/lib/x86_64-linux-gnu/cmake/Qt5 ${PWD}" | ||
|
||
windows_test: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/windows/install_deps.ps1 | ||
- name: Run Tests | ||
run: ci/actions/windows/build.ps1 |
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,56 @@ | ||
name: Tests | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
RELEASE: 0 | ||
artifact: 0 | ||
|
||
jobs: | ||
osx_test: | ||
runs-on: macOS-latest | ||
env: | ||
BOOST_ROOT: /tmp/boost | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: TEST=1 ci/actions/osx/install_deps.sh | ||
- name: Run Tests | ||
run: ci/build-travis.sh "/tmp/qt/lib/cmake/Qt5"; | ||
|
||
gcc_test: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/linux/install_deps.sh | ||
- name: Run Tests | ||
run: docker run -v ${PWD}:/workspace nanocurrency/nano-env:gcc /bin/bash -c "cd /workspace && ./ci/build-travis.sh /usr/lib/x86_64-linux-gnu/cmake/Qt5 ${PWD}" | ||
|
||
clang_test: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/linux/install_deps.sh | ||
- name: Run Tests | ||
run: docker run -v ${PWD}:/workspace nanocurrency/nano-env:clang /bin/bash -c "cd /workspace && RELEASE=0 ASAN=0 TSAN=0 ./ci/build-travis.sh /usr/lib/x86_64-linux-gnu/cmake/Qt5 ${PWD}" | ||
|
||
windows_test: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@722adc6 | ||
- name: Windows Defender | ||
run: ci/actions/windows/disable_windows_defender.ps1 | ||
- name: Checkout Submodules | ||
run: git submodule update --init --recursive | ||
- name: Fetch Deps | ||
run: ci/actions/windows/install_deps.ps1 | ||
- name: Run Tests | ||
run: ci/actions/windows/build.ps1 |
Oops, something went wrong.