Skip to content

Commit

Permalink
Merge branch 'main' into ci-self-hosted-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian authored Aug 8, 2023
2 parents fddc912 + bd771b6 commit ab8ca8f
Show file tree
Hide file tree
Showing 346 changed files with 27,418 additions and 24,944 deletions.
23 changes: 13 additions & 10 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
# below ones takes precedence over the upper ones

# Global owners
* @nazar-pc @rg3l3dr
* @nazar-pc @rg3l3dr

/crates @liuchengxu @nazar-pc @rg3l3dr
/crates/pallet-* @liuchengxu @nazar-pc @rg3l3dr @vedhavyas
/crates/sp-* @liuchengxu @nazar-pc @rg3l3dr @vedhavyas
/crates/subspace-archiving @liuchengxu @i1i1 @nazar-pc @rg3l3dr
/crates/subspace-farmer @i1i1 @nazar-pc @rg3l3dr
/crates/subspace-networking @nazar-pc @rg3l3dr @shamil-gadelshin
/crates/subspace-runtime* @liuchengxu @nazar-pc @rg3l3dr @vedhavyas
/crates/subspace-solving @i1i1 @liuchengxu @nazar-pc @rg3l3dr
/crates/substrate @nazar-pc @rg3l3dr
/crates @nazar-pc @rg3l3dr
/crates/pallet-* @nazar-pc @rg3l3dr @vedhavyas @NingLin-P
/crates/sp-* @nazar-pc @rg3l3dr @vedhavyas @NingLin-P
/crates/subspace-archiving @shamil-gadelshin @nazar-pc @rg3l3dr
/crates/subspace-farmer @nazar-pc @shamil-gadelshin @rg3l3dr
/crates/subspace-networking @shamil-gadelshin @nazar-pc @rg3l3dr
/crates/subspace-runtime* @vedhavyas @nazar-pc @rg3l3dr
/crates/subspace-node @NingLin-P @nazar-pc @rg3l3dr
/crates/subspace-fraud-proof @NingLin-P @nazar-pc @rg3l3dr
/crates/subspace-transaction-pool @NingLin-P @nazar-pc @rg3l3dr
/crates/substrate @nazar-pc @rg3l3dr
/domains @vedhavyas @NingLin-P @nazar-pc @rg3l3dr
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ env:
CARGO_TERM_COLOR: always
# Build smaller artifacts to avoid running out of space in CI
# TODO: Try to remove once https://github.com/paritytech/substrate/issues/11538 is resolved
RUSTFLAGS: -C strip=symbols -C opt-level=s
# TODO: AES flag is such that we have decent performance on ARMv8, remove once `aes` crate bumps MSRV to at least
# 1.61: https://github.com/RustCrypto/block-ciphers/issues/373
RUSTFLAGS: -C strip=symbols -C opt-level=s --cfg aes_armv8
# Remove unnecessary WASM build artefacts
WASM_BUILD_CLEAN_TARGET: 1

Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}
tags: |
type=ref,event=tag
type=ref,event=branch
type=sha,format=long
flavor: |
latest=false
suffix=${{ matrix.platform.image-suffix }}
Expand All @@ -71,8 +73,7 @@ jobs:
with:
file: Dockerfile-${{ matrix.image }}${{ matrix.platform.dockerfile-suffix }}
platforms: ${{ matrix.platform.arch }}
# Only push for releases
push: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
Expand All @@ -94,15 +95,19 @@ jobs:
- os: ${{ fromJson(github.repository_owner == 'subspace' && '["self-hosted", "ubuntu-20.04-x86-64"]' || 'ubuntu-20.04') }}
target: aarch64-unknown-linux-gnu
suffix: ubuntu-aarch64-${{ github.ref_name }}
rustflags: "-C linker=aarch64-linux-gnu-gcc"
# TODO: AES flag is such that we have decent performance on ARMv8, remove once `aes` crate bumps MSRV to
# at least 1.61: https://github.com/RustCrypto/block-ciphers/issues/373
rustflags: "-C linker=aarch64-linux-gnu-gcc --cfg aes_armv8"
- os: ${{ fromJson(github.repository_owner == 'subspace' && '["self-hosted", "macos-12-arm64"]' || 'macos-12') }}
target: x86_64-apple-darwin
suffix: macos-x86_64-${{ github.ref_name }}
rustflags: ""
- os: ${{ fromJson(github.repository_owner == 'subspace' && '["self-hosted", "macos-12-arm64"]' || 'macos-12') }}
target: aarch64-apple-darwin
suffix: macos-aarch64-${{ github.ref_name }}
rustflags: ""
# TODO: AES flag is such that we have decent performance on ARMv8, remove once `aes` crate bumps MSRV to
# at least 1.61: https://github.com/RustCrypto/block-ciphers/issues/373
rustflags: "--cfg aes_armv8"
- os: ${{ fromJson(github.repository_owner == 'subspace' && '["self-hosted", "windows-server-2022-x86-64"]' || 'windows-2022') }}
target: x86_64-pc-windows-msvc
suffix: windows-x86_64-v2-${{ github.ref_name }}
Expand Down
Loading

0 comments on commit ab8ca8f

Please sign in to comment.