This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ao-show-io-stats
* master: Code cleanup in the sync module (#11552) initial cleanup (#11542) Warn if genesis constructor revert (#11550) ethcore: cleanup after #11531 (#11546) license update (#11543) Less cloning when importing blocks (#11531) Github Actions (#11528) Fix Alpine Dockerfile (#11538) Remove AuxiliaryData/AuxiliaryRequest (#11533) [journaldb]: cleanup (#11534) Remove references to parity-ethereum (#11525) Drop IPFS support (#11532) chain-supplier: fix warning reporting for GetNodeData request (#11530) Faster kill_garbage (#11514) [EngineSigner]: don't sign message with only zeroes (#11524)
- Loading branch information
Showing
754 changed files
with
5,242 additions
and
6,251 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
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
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,18 @@ | ||
name: Security audit | ||
on: | ||
pull_request: | ||
paths: Cargo.lock | ||
schedule: | ||
- cron: '0 0 * * *' | ||
jobs: | ||
security_audit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 50 | ||
- name: Run cargo audit | ||
uses: actions-rs/audit-check@v1 | ||
with: | ||
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,98 @@ | ||
name: Build and Test Suite | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- stable | ||
jobs: | ||
build-tests: | ||
name: Test and Build | ||
strategy: | ||
matrix: | ||
platform: | ||
- ubuntu-16.04 | ||
- macos-latest | ||
- windows-latest | ||
toolchain: | ||
- stable | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 50 | ||
- name: Checkout submodules | ||
shell: bash | ||
run: git submodule update --init --recursive | ||
- name: Install toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
override: true | ||
- name: Cache cargo registry | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: ~/.cargo/registry | ||
key: ${{ runner.os }}-cargo-registry-build-tests-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache cargo index | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: ~/.cargo/git | ||
key: ${{ runner.os }}-cargo-git-build-tests-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache cargo build | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: target | ||
key: ${{ runner.os }}-cargo-build-target-build-tests-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache sccache linux | ||
if: matrix.platform == 'ubuntu-16.04' | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: "/home/runner/.cache/sccache" | ||
key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache sccache MacOS | ||
if: matrix.platform == 'macos-latest' | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: "/Users/runner/Library/Caches/Mozilla.sccache" | ||
key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache sccache Windows | ||
if: matrix.platform == 'windows-latest' | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: "C:\\Users\\runneradmin\\AppData\\Local\\Mozilla\\sccache\\cache" | ||
key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Install sccache for ${{ matrix.platform }} | ||
shell: pwsh | ||
run: pwsh scripts/actions/install-sccache.ps1 ${{ runner.os}} | ||
- name: Install LLVM for Windows | ||
if: matrix.platform == 'windows-latest' | ||
run: choco install llvm | ||
- name: Sccache statistics | ||
run: sccache --show-stats | ||
- name: Build tests | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --locked --all --release --features "json-tests" --verbose --no-run | ||
- name: Run tests for ${{ matrix.platform }} | ||
if: matrix.platform == 'windows-latest' | ||
continue-on-error: true #Skip step if Windows tests failure | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --locked --all --release --features "json-tests" --verbose | ||
- name: Run tests for ${{ matrix.platform }} | ||
if: matrix.platform != 'windows-latest' | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --locked --all --release --features "json-tests" --verbose | ||
- name: Stop sccache | ||
if: always() | ||
run: sccache --stop-server | ||
- name: Prepare build directory for cache | ||
shell: bash | ||
run: bash scripts/actions/clean-target.sh |
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,90 @@ | ||
name: Build Release Suite | ||
|
||
on: | ||
push: | ||
branches: | ||
- stable | ||
tags: | ||
- v2* | ||
|
||
jobs: | ||
build: | ||
name: Build Release | ||
strategy: | ||
matrix: | ||
platform: | ||
- ubuntu-16.04 | ||
- macos-latest | ||
- windows-latest | ||
toolchain: | ||
- stable | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 50 | ||
- name: Install toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
profile: minimal | ||
override: true | ||
- name: Cache cargo registry | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: ~/.cargo/registry | ||
key: ${{ runner.os }}-cargo-registry-build-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache cargo index | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: ~/.cargo/git | ||
key: ${{ runner.os }}-cargo-git-build-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache cargo build | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: target | ||
key: ${{ runner.os }}-cargo-build-target-build-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache sccache linux | ||
if: matrix.platform == 'ubuntu-16.04' | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: "/home/runner/.cache/sccache" | ||
key: ${{ runner.os }}-sccache-build-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache sccache MacOS | ||
if: matrix.platform == 'macos-latest' | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: "/Users/runner/Library/Caches/Mozilla.sccache" | ||
key: ${{ runner.os }}-sccache-build-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache sccache Windows | ||
if: matrix.platform == 'windows-latest' | ||
uses: actions/cache@v1.1.2 | ||
with: | ||
path: "C:\\Users\\runneradmin\\AppData\\Local\\Mozilla\\sccache\\cache" | ||
key: ${{ runner.os }}-sccache-build-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Install sccache for ${{ matrix.platform }} | ||
shell: pwsh | ||
run: pwsh scripts/actions/install-sccache.ps1 ${{ runner.os}} | ||
- name: Install LLVM for Windows | ||
if: matrix.platform == 'windows-latest' | ||
run: choco install llvm | ||
- name: Sccache statistics | ||
run: sccache --show-stats | ||
- name: Build OpenEthereum for windows | ||
if: matrix.platform == 'windows-latest' | ||
run: sh scripts/actions/build-windows.sh ${{matrix.platform}} | ||
- name: Build OpenEthereum for ${{matrix.platform}} | ||
if: matrix.platform != 'windows-latest' | ||
run: sh scripts/actions/build-linux.sh ${{matrix.platform}} | ||
- name: Stop sccache | ||
if: always() | ||
run: sccache --stop-server | ||
- name: Download artifact | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{matrix.platform}}.artifacts.zip | ||
path: artifacts/ | ||
- name: Prepare build directory for cache | ||
shell: bash | ||
run: bash scripts/actions/clean-target.sh |
Oops, something went wrong.