Skip to content

Commit

Permalink
feat: Update substrate to gear-polkadot-stable2409 (#4289)
Browse files Browse the repository at this point in the history
Co-authored-by: StackOverflowExcept1on <[email protected]>
Co-authored-by: Dmitry Novikov <[email protected]>
Co-authored-by: Arsenii Lyashenko <[email protected]>
  • Loading branch information
4 people authored Nov 11, 2024
1 parent cb8a707 commit 93a5a60
Show file tree
Hide file tree
Showing 60 changed files with 6,637 additions and 3,483 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/build-win-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ jobs:
procps
mingw-w64-x86_64-protobuf
- name: "Install: Strawberry Perl"
run: |
$perlPath = "$Env:USERPROFILE\strawberry-perl"
$tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } -PassThru
Invoke-WebRequest -OutFile $tmp "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54001_64bit_UCRT/strawberry-perl-5.40.0.1-64bit-portable.zip"
$tmp | Expand-Archive -DestinationPath $perlPath -Force
$tmp | Remove-Item
Add-Content -Path $Env:GITHUB_ENV -Value "OPENSSl_SRC_PERL=$perlPath/perl/bin/perl.exe"
shell: powershell

- name: "Install: Rustup"
run: |
Invoke-WebRequest -OutFile rustup-init.exe https://win.rustup.rs/x86_64
Expand All @@ -59,7 +71,7 @@ jobs:

- name: "Install: cargo-nextest"
run: |
$tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } -PassThru
$tmp = "cargo-nextest.zip"
Invoke-WebRequest -OutFile $tmp https://get.nexte.st/latest/windows
$outputDir = if ($Env:CARGO_HOME) { Join-Path $Env:CARGO_HOME "bin" } else { "~/.cargo/bin" }
$tmp | Expand-Archive -DestinationPath $outputDir -Force
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,13 @@ jobs:
wineboot
winetricks win10
- name: "Install: FireDaemon OpenSSL"
run: |
wget https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.4.0.zip
unzip openssl-3.4.0.zip "x64/*" -d openssl
echo "OPENSSL_NO_VENDOR=1" >> $GITHUB_ENV
echo "OPENSSL_DIR=$(pwd)/openssl/x64" >> $GITHUB_ENV
- name: "Install: LLVM"
run: |
sudo ./.github/build-win-cross/update-alternatives-clang.sh 12 100
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:
- false
default: 'false'

concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
cp -vf target/release/wasm-proc ./
- name: "Build: Production `vara-runtime`"
run: cargo build -p vara-runtime --profile production --no-default-features --features std
run: cargo build -p vara-runtime --profile production --no-default-features --features std,metadata-hash

- name: "Test: Production `vara-runtime`"
run: ./wasm-proc --check-runtime-imports --check-runtime-is-dev false target/production/wbuild/vara-runtime/vara_runtime.compact.wasm
Expand Down
Loading

0 comments on commit 93a5a60

Please sign in to comment.