File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 11name : Iroha2::Main
2+
23on :
34 push :
45 branches : [main]
6+
7+ env :
8+ TOOLCHAIN_VER : nightly-2024-09-09
9+
510jobs :
611 build :
712 runs-on : ubuntu-latest
1621 - name : Checkout code
1722 uses : actions/checkout@v4
1823 - name : Install correct rust version
19- run : rustup install nightly-2024-09-09 && rustup component add rust-src --toolchain nightly-2024-09-09
24+ run : rustup install ${{ env.TOOLCHAIN_VER }} && rustup component add rust-src --toolchain ${{ env.TOOLCHAIN_VER }}
2025 - name : Set toolchain
21- run : rustup default nightly-2024-09-09
26+ run : rustup default ${{ env.TOOLCHAIN_VER }}
2227 - name : Maturin build
2328 run : |
2429 pip install maturin
Original file line number Diff line number Diff line change 77 # branches: [main]
88 push :
99 branches : [i2/ci/py-sonar]
10+
11+ env :
12+ TOOLCHAIN_VER : nightly-2024-09-09
13+ IROHA_BRANCH : 2.0.0-rc.1
1014
1115jobs :
1216 pytest :
@@ -24,11 +28,11 @@ jobs:
2428 - name : Install dependencies
2529 run : pip install poetry tomli-w
2630 - name : Checkout irohad repo code
27- run : git clone --depth 1 https://github.com/hyperledger-iroha/iroha.git -b 2.0.0-rc.1 iroha_daemon
31+ run : git clone --depth 1 https://github.com/hyperledger-iroha/iroha.git -b ${{ env.IROHA_BRANCH }} iroha_daemon
2832 - name : Install correct rust version
29- run : rustup install nightly-2024-09-09 && rustup component add rust-src --toolchain nightly-2024-09-09
33+ run : rustup install ${{ env.TOOLCHAIN_VER }} && rustup component add rust-src --toolchain ${{ env.TOOLCHAIN_VER }}
3034 - name : Set toolchain
31- run : rustup default nightly-2024-09-09
35+ run : rustup default ${{ env.TOOLCHAIN_VER }}
3236 - name : Build irohad
3337 run : cd iroha_daemon && cargo build --release && mkdir target/debug -p && cp target/release/irohad target/debug/irohad && cp target/release/iroha target/debug/iroha
3438 - name : Build kagami
You can’t perform that action at this time.
0 commit comments