Install musl-tools if the target name contains "musl"
This commit is contained in:
parent
52a0827e28
commit
ad283b2fc6
@ -1,3 +1,9 @@
|
|||||||
|
## 0.0.14 - 2024-08-25
|
||||||
|
|
||||||
|
- When the given `target` includes the string `musl`, this action will install the `musl-tools`
|
||||||
|
package. This allows crates with C or C++ code to compile properly. Fixes #20. Reported by Matteo
|
||||||
|
Pietro Dazzi (@ilteoood).
|
||||||
|
|
||||||
## 0.0.13 - 2024-05-18
|
## 0.0.13 - 2024-05-18
|
||||||
|
|
||||||
- It's now possible to set `cross-version` to a git ref like a commit hash or `HEAD`. This will
|
- It's now possible to set `cross-version` to a git ref like a commit hash or `HEAD`. This will
|
||||||
|
|||||||
@ -83,6 +83,10 @@ runs:
|
|||||||
if: ${{ steps.determine-cross-compile.outputs.needs-cross == 'true' && steps.cache-cross.outputs.cache-hit != 'true' }}
|
if: ${{ steps.determine-cross-compile.outputs.needs-cross == 'true' && steps.cache-cross.outputs.cache-hit != 'true' }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
||||||
|
- name: Install musl-tools on Linux if target includes "musl"
|
||||||
|
shell: bash
|
||||||
|
run: sudo apt-get update --yes && sudo apt-get install --yes musl-tools
|
||||||
|
if: contains(inputs.target, 'musl')
|
||||||
- name: Set build command
|
- name: Set build command
|
||||||
id: set-build-command
|
id: set-build-command
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user