Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Gossamer testing runtime #1

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 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
25 changes: 0 additions & 25 deletions .devcontainer/devcontainer.json

This file was deleted.

16 changes: 0 additions & 16 deletions .editorconfig

This file was deleted.

7 changes: 0 additions & 7 deletions .envrc

This file was deleted.

12 changes: 0 additions & 12 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

32 changes: 22 additions & 10 deletions .github/workflows/check.yml → .github/workflows/build-specs.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Check Set-Up & Build
name: Build Chain Specs

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
branches: [ gssmr-test ]
pull_request:
branches: [ main ]
branches: [ gssmr-test ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
check:
build-specs:
# The type of runner that the job will run on
runs-on: ubuntu-20.04

Expand All @@ -34,11 +34,23 @@ jobs:
rustup update stable
rustup target add wasm32-unknown-unknown --toolchain nightly

- name: Check Build
- name: Build
run: |
SKIP_WASM_BUILD=1 cargo check --release
cargo build

- name: Check Build for Benchmarking
run: >
pushd node &&
cargo check --features=runtime-benchmarks --release
- name: Build Specs
run: |
./target/debug/gssmr-test-node build-spec --dev --disable-default-bootnode > dev-spec.json &&
./target/debug/gssmr-test-node build-spec --dev --disable-default-bootnode --raw > dev-spec-raw.json &&
./target/debug/gssmr-test-node build-spec --disable-default-bootnode > spec.json &&
./target/debug/gssmr-test-node build-spec --disable-default-bootnode --raw > spec-raw.json

- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
dev-spec.json
dev-spec-raw.json
spec.json
spec-raw.json
37 changes: 0 additions & 37 deletions .vscode/tasks.json

This file was deleted.

Loading