|
11 | 11 | required: false
|
12 | 12 | type: string
|
13 | 13 | include_cairols:
|
| 14 | + include-cairols: |
14 | 15 | description: "Include CairoLS in build"
|
15 | 16 | type: boolean
|
16 | 17 | default: true
|
17 |
| - include_stwo: |
| 18 | + include-stwo: |
18 | 19 | description: "Include Stwo in build"
|
19 | 20 | type: boolean
|
20 | 21 | default: true
|
21 |
| - include_lint: |
| 22 | + include-lint: |
22 | 23 | description: "Include CairoLint in build"
|
23 | 24 | type: boolean
|
24 | 25 | default: true
|
@@ -90,26 +91,26 @@ jobs:
|
90 | 91 | - name: Build
|
91 | 92 | run: |
|
92 | 93 | ${{ env.CARGO }} build --release --locked --target ${{ matrix.target }} --workspace --exclude scarb-prove \
|
93 |
| - --exclude scarb-verify ${{ inputs.include_cairols && '--exclude scarb-cairo-language-server' || ''}} \ |
94 |
| - --no-default-features ${{ inputs.include_lint && '--features scarb/scarb-lint' || ''}} |
| 94 | + --exclude scarb-verify ${{ inputs.include-cairols && '--exclude scarb-cairo-language-server' || ''}} \ |
| 95 | + --no-default-features ${{ inputs.include-lint && '--features scarb/scarb-lint' || ''}} |
95 | 96 |
|
96 | 97 | - uses: dtolnay/rust-toolchain@master
|
97 |
| - if: inputs.include_stwo |
| 98 | + if: inputs.include-stwo |
98 | 99 | with:
|
99 | 100 | target: ${{ matrix.target }}
|
100 | 101 | toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN }}
|
101 | 102 |
|
102 | 103 | - name: Install cross
|
103 |
| - if: matrix.cross && inputs.include_stwo |
| 104 | + if: matrix.cross && inputs.include-stwo |
104 | 105 | uses: taiki-e/install-action@cross
|
105 | 106 |
|
106 | 107 | - name: Enable cross-compilation
|
107 |
| - if: matrix.cross && inputs.include_stwo |
| 108 | + if: matrix.cross && inputs.include-stwo |
108 | 109 | shell: bash
|
109 | 110 | run: echo "CARGO=cross" >> $GITHUB_ENV
|
110 | 111 |
|
111 | 112 | - name: Build nightly crates
|
112 |
| - if: inputs.include_stwo |
| 113 | + if: inputs.include-stwo |
113 | 114 | run: ${{ env.CARGO }} build --release --locked --target ${{ matrix.target }} -p scarb-prove -p scarb-verify
|
114 | 115 |
|
115 | 116 | - name: Create archive
|
|
0 commit comments