Commit 0e0efd8 1 parent ce83714 commit 0e0efd8 Copy full SHA for 0e0efd8
File tree 2 files changed +21
-4
lines changed
2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 55
55
56
56
# - target: aarch64-pc-windows-msvc
57
57
# os: windows-latest
58
-
58
+ env :
59
+ # TODO(#1915): Use stable toolchain once stwo is stable.
60
+ RUST_NIGHTLY_TOOLCHAIN : " nightly-2025-01-02"
59
61
steps :
60
62
- uses : actions/checkout@v4
61
63
with :
75
77
run : echo "CARGO=cross" >> $GITHUB_ENV
76
78
77
79
- name : Build
78
- run : ${{ env.CARGO }} build --release --locked --target ${{ matrix.target }}
80
+ run : ${{ env.CARGO }} build --release --locked --target ${{ matrix.target }} --workspace --exclude scarb-prove
81
+
82
+ - uses : dtolnay/rust-toolchain@master
83
+ with :
84
+ target : ${{ matrix.target }}
85
+ toolchain : ${{ env.RUST_NIGHTLY_TOOLCHAIN }}
86
+
87
+ - name : Build scarb-prove
88
+ run : ${{ env.CARGO }} +${{ env.RUST_NIGHTLY_TOOLCHAIN }} build --release --locked --target ${{ matrix.target }} --workspace --exclude scarb-prove
79
89
80
90
- name : Create archive
81
91
run : cargo xtask create-archive
Original file line number Diff line number Diff line change @@ -34,13 +34,20 @@ jobs:
34
34
os : macos-14
35
35
- name : windows x86-64
36
36
os : windows-latest
37
+ env :
38
+ # TODO(#1915): Use stable toolchain once stwo is stable.
39
+ RUST_NIGHTLY_TOOLCHAIN : " nightly-2025-01-02"
37
40
steps :
38
41
- uses : actions/checkout@v4
39
42
with :
40
43
ref : ${{ inputs.ref }}
41
44
- uses : dtolnay/rust-toolchain@stable
42
- - run : cargo test --profile=ci --no-fail-fast
43
-
45
+ - run : cargo test --profile=ci --no-fail-fast --workspace --exclude scarb-prove
46
+ - uses : dtolnay/rust-toolchain@master
47
+ with :
48
+ toolchain : ${{ env.RUST_NIGHTLY_TOOLCHAIN }}
49
+ - run : cargo +${{ env.RUST_NIGHTLY_TOOLCHAIN }} test --profile=ci --no-fail-fast --package scarb-prove
50
+
44
51
snforge-init :
45
52
runs-on : ubuntu-latest
46
53
steps :
You can’t perform that action at this time.
0 commit comments