-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
30 lines (28 loc) · 926 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Setup toolchains for cross compilation and cross testing for Rust
description: GitHub Action for setup toolchains for cross compilation and cross testing for Rust
inputs:
target:
description: Target name
required: true
runner:
description: Test runner
required: false
qemu:
description: QEMU version
required: false
wine:
description: Wine version
required: false
# Note:
# - inputs.* should be manually mapped to INPUT_* due to https://github.com/actions/runner/issues/665
# - Use GITHUB_*/RUNNER_* instead of github.*/runner.* due to https://github.com/actions/runner/issues/2185
runs:
using: composite
steps:
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
shell: bash
env:
INPUT_TARGET: ${{ inputs.target }}
INPUT_RUNNER: ${{ inputs.runner }}
INPUT_QEMU: ${{ inputs.qemu }}
INPUT_WINE: ${{ inputs.wine }}