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

update gh action tracing #2730

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 5 additions & 2 deletions .github/workflows/tracing-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ on:
required: true
type: string

env:
SUBWASM_VERSION: 0.20.0

jobs:
build-runtime:
name: "Build evm tracing runtime ${{ matrix.network }}"
permissions:
contents: write
runs-on: [self-hosted, linux]
runs-on: ubuntu-latest
strategy:
matrix:
network: [karura, acala]
Expand All @@ -44,7 +47,7 @@ jobs:
- name: Find spec version
run: |
SPEC_VERSION=`subwasm version -j target/production/wbuild/${{ matrix.network }}-runtime/${{ matrix.network }}_runtime.compact.compressed.wasm | jq .specVersion`
cp target/production/wbuild/${{ matrix.network }}-runtime/${{ matrix.network }}_runtime.compact.compressed.wasm > ${{ matrix.network }}_runtime_tracing_$SPEC_VERSION.compact.compressed.wasm
cp target/production/wbuild/${{ matrix.network }}-runtime/${{ matrix.network }}_runtime.compact.compressed.wasm ${{ matrix.network }}_runtime_tracing_$SPEC_VERSION.compact.compressed.wasm
echo "SPEC_VERSION=$SPEC_VERSION" >> $GITHUB_ENV
- name: Upload tracing runtime
uses: softprops/action-gh-release@v2
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ srtool-build-wasm-acala:

.PHONY: build-wasm-karura-tracing
build-wasm-karura-tracing:
./scripts/build-only-wasm.sh --profile production -p karura-runtime --features=on-chain-release-build,tracing
./scripts/build-only-wasm.sh --profile production -p karura-runtime --features=tracing

.PHONY: build-wasm-acala-tracing
build-wasm-acala-tracing:
./scripts/build-only-wasm.sh --profile production -p acala-runtime --features=on-chain-release-build,tracing
./scripts/build-only-wasm.sh --profile production -p acala-runtime --features=tracing

.PHONY: generate-tokens
generate-tokens:
Expand Down
Loading