Skip to content

Commit 04d6c34

Browse files
committed
Add more targets, correct targets based on cibw
1 parent 8abded3 commit 04d6c34

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

setup/action.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ inputs:
55
kind:
66
type: choice
77
description: "Whether to install just a default target, or all targets (e.g. for during deployments / wheel building)"
8+
default: "full"
89
options:
9-
- minimal
1010
- full
11-
- full-wasm
11+
- wasm
1212

1313
runs:
1414
using: 'composite'
@@ -43,22 +43,24 @@ runs:
4343
**/target
4444
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
4545

46-
- run: rustup target add aarch64-apple-darwin
46+
- run: |
47+
rustup target add aarch64-unknown-linux-gnu
48+
rustup target add x86_64-unknown-linux-gnu
4749
shell: bash
48-
if: ${{ inputs.kind == 'full' && runner.os == 'macOS' }}
50+
if: ${{ inputs.kind == 'full' && runner.os == 'Linux' }}
4951
50-
- run: rustup target add x86_64-apple-darwin
52+
- run: |
53+
rustup target add aarch64-apple-darwin
54+
rustup target add x86_64-apple-darwin
5155
shell: bash
5256
if: ${{ inputs.kind == 'full' && runner.os == 'macOS' }}
5357
54-
- run: rustup toolchain install stable-i686-pc-windows-msvc
55-
shell: bash
56-
if: ${{ inputs.kind == 'full' && runner.os == 'Windows' }}
57-
58-
- run: rustup target add i686-pc-windows-msvc
58+
- run: |
59+
rustup target add x86_64-pc-windows-msvc
60+
rustup target add aarch64-pc-windows-msvc
5961
shell: bash
6062
if: ${{ inputs.kind == 'full' && runner.os == 'Windows' }}
6163
6264
- run: rustup target add wasm32-unknown-unknown
6365
shell: bash
64-
if: ${{ inputs.kind == 'full' && runner.os == 'Windows' }}
66+
if: ${{ inputs.kind == 'wasm' }}

0 commit comments

Comments
 (0)