Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split kusama/polkadot runtimes #303

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/check-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,6 @@ jobs:
./try-runtime \
--runtime $RUNTIME_BLOB_PATH \
on-runtime-upgrade --checks=pre-and-post \
--disable-spec-version-check \
$EXTRA_FLAGS \
live --uri ${{ matrix.runtime.uri }}
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
runtime: [ "shell", "integritee" ]
runtime: [ "integritee-kusama", "integritee-polkadot" ]
steps:
- uses: actions/checkout@v3

Expand All @@ -250,7 +250,7 @@ jobs:
with:
image: paritytech/srtool
chain: ${{ matrix.runtime }}
runtime_dir: polkadot-parachains/${{ matrix.runtime }}-runtime
runtime_dir: polkadot-parachains/${{ matrix.runtime }}

- name: Summary
run: |
Expand Down Expand Up @@ -321,10 +321,7 @@ jobs:
fail-fast: false
matrix:
chain: [ integritee ]
config: [ rococo, westend, kusama, polkadot, moonbase, paseo ]
include:
- chain: shell
config: kusama-lease2
config: [ kusama, polkadot, paseo ]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -418,7 +415,7 @@ jobs:
needs: [ "release" ]
strategy:
matrix:
runtime: [ "shell", "integritee" ]
runtime: [ "integritee-kusama", "integritee-polkadot" ]
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/clippy-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@ on:
pull_request:
branches: [ master ]
paths:
- 'polkadot-parachains/integritee-runtime/**'
- '../../polkadot-parachains/integritee-kusama/**'
- '../../polkadot-parachains/integritee-polkadot/**'

# cancel previous runs
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
clippy:
clippy-runtimes:
runs-on: ubuntu-latest
strategy:
matrix:
runtime: [ "integritee-kusama", "integritee-polkadot" ]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -33,7 +37,7 @@ jobs:
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --manifest-path polkadot-parachains/integritee-runtime/Cargo.toml
args: --manifest-path polkadot-parachains/${{ matrix.runtime }}/Cargo.toml
env:
# RUSTFLAGS: "-D warnings" # FAIL-CI
SKIP_WASM_BUILD: 1
15 changes: 11 additions & 4 deletions .github/workflows/runtimes-matrix.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
[
{
"name": "integritee-kusama",
"package": "integritee-runtime",
"path": "polkadot-parachains/integritee-runtime",
"package": "integritee-kusama-runtime",
"path": "polkadot-parachains/integritee-kusama",
"uri": "wss://kusama.api.integritee.network:443",
"is_relay": false
},
{
"name": "integritee-polkadot",
"package": "integritee-polkadot-runtime",
"path": "polkadot-parachains/integritee-polkadot",
"uri": "wss://polkadot.api.integritee.network:443",
"is_relay": false
},
{
"name": "integritee-paseo",
"package": "integritee-runtime",
"path": "polkadot-parachains/integritee-runtime",
"package": "integritee-kusama-runtime",
"path": "polkadot-parachains/integritee-kusama",
"uri": "wss://paseo.api.integritee.network:443",
"is_relay": false
}
Expand Down
161 changes: 98 additions & 63 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ resolver = "2"
members = [
"polkadot-parachains",
"polkadot-parachains/common",
"polkadot-parachains/integritee-runtime",
"polkadot-parachains/shell-runtime",
"polkadot-parachains/integritee-kusama",
"polkadot-parachains/integritee-polkadot",
]

[profile.release]
Expand Down
Loading
Loading