@@ -17,43 +17,49 @@ jobs:
17
17
with :
18
18
ref : ${{ github.head_ref }}
19
19
20
- # - name: Install dependencies
21
- # run: |
22
- # sudo apt-get update &&
23
- # sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler jq
24
- #
25
- # - name: Install Rust stable
26
- # uses: actions-rs/[email protected]
27
- # with:
28
- # toolchain: stable
29
- # components: rustfmt
30
- # profile: minimal
31
- #
32
- # - name: Add wasm32-unknown-unknown target
33
- # run: |
34
- # rustup target add wasm32-unknown-unknown --toolchain stable-x86_64-unknown-linux-gnu
35
- # rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu
36
- #
37
- # - name: Run localnet.sh False --build-only
38
- # run: |
39
- # chmod +x scripts/localnet.sh
40
- # ./scripts/localnet.sh False --build-only
41
- #
42
- # - name: Run localnet.sh --build-only
43
- # run: |
44
- # chmod +x scripts/localnet.sh
45
- # ./scripts/localnet.sh --build-only
20
+ - name : Install dependencies
21
+ run : |
22
+ sudo apt-get update &&
23
+ sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler jq
24
+
25
+ - name : Install Rust stable
26
+ uses :
actions-rs/[email protected]
27
+ with :
28
+ toolchain : stable
29
+ components : rustfmt
30
+ profile : minimal
31
+
32
+ - name : Add wasm32-unknown-unknown target
33
+ run : |
34
+ rustup target add wasm32-unknown-unknown --toolchain stable-x86_64-unknown-linux-gnu
35
+ rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu
36
+
37
+ - name : Run localnet.sh False --build-only
38
+ run : |
39
+ chmod +x scripts/localnet.sh
40
+ ./scripts/localnet.sh False --build-only
46
41
47
- - name : Create a files
48
- working-directory : ${{ github.workspace }}
42
+ - name : Run localnet.sh --build-only
49
43
run : |
50
- mkdir -p ${{ github.workspace }}/nodes/fast-blocks/release
51
- mkdir -p ${{ github.workspace }}/nodes/non-fast-blocks/release
52
- echo "fast-blocks" > ${{ github.workspace }}/nodes/fast-blocks/release/node-subtensor
53
- echo "non-fast-blocks" > ${{ github.workspace }}/nodes/non-fast-blocks/release/node-subtensor
44
+ chmod +x scripts/localnet.sh
45
+ ./scripts/localnet.sh --build-only
46
+
47
+ # - name: Create a files
48
+ # working-directory: ${{ github.workspace }}
49
+ # run: |
50
+ # mkdir -p ${{ github.workspace }}/nodes/fast-blocks/release
51
+ # mkdir -p ${{ github.workspace }}/nodes/non-fast-blocks/release
52
+ # echo "fast-blocks" > ${{ github.workspace }}/nodes/fast-blocks/release/node-subtensor
53
+ # echo "non-fast-blocks" > ${{ github.workspace }}/nodes/non-fast-blocks/release/node-subtensor
54
+
55
+ - name : Upload fast-blocks
56
+ uses : actions/upload-artifact@v4
57
+ with :
58
+ name : fast-blocks
59
+ path : ${{ github.workspace }}/nodes/fast-blocks/release/node-subtensor
54
60
55
- - name : Upload artifact
61
+ - name : Upload non-fast-blocks
56
62
uses : actions/upload-artifact@v4
57
63
with :
58
- name : nodes-artifacts
59
- path : ${{ github.workspace }}/nodes
64
+ name : non-fast-blocks
65
+ path : ${{ github.workspace }}/nodes/non-fast-blocks/release/node-subtensor
0 commit comments