A GitHub action to setup lde for your actions runners.
- uses: lde-org/setup-lde@v1By default this will simply get the latest pinned release and set up lde in your GitHub actions PATH.
- uses: lde-org/setup-lde@v1
with:
version: "0.8.1"- uses: lde-org/setup-lde@v1
with:
version: nightly- uses: lde-org/setup-lde@v1
with:
platform: Android
arch: aarch64By default the libc for Linux runners is auto-detected (glibc on GitHub-hosted runners). Override it to install the musl build instead:
- uses: lde-org/setup-lde@v1
with:
libc: muslNative packages that build with CMake need lde's bundled llvm-mingw rather than the MSVC-targeted clang a Windows runner has on PATH. Ask for it with toolchain, which downloads it once and caches it under lde's home (~/.lde/mingw by default):
- uses: lde-org/setup-lde@v1
with:
toolchain: trueIt is a no-op outside Windows.
By default lde is installed to ~/.lde (%USERPROFILE%\.lde on Windows). Install elsewhere with the dir input:
- uses: lde-org/setup-lde@v1
with:
dir: ${{ env.LDE_HOME }}| Input | Description | Default |
|---|---|---|
version |
Version to install (0.8.1, latest, nightly) |
latest |
platform |
Override platform (Linux, Darwin, Android, FreeBSD) |
auto-detected |
arch |
Override architecture (x86_64, aarch64) |
auto-detected |
libc |
Override libc for Linux (glibc, musl) |
auto-detected |
dir |
Directory to install lde into | ~/.lde (%USERPROFILE%\.lde on Windows) |
toolchain |
Install lde's bundled MinGW/LLVM toolchain (Windows) | false |
Binaries are distributed as zips and extracted to ~/.lde (or %USERPROFILE%\.lde on Windows) by default; set the dir input to install elsewhere. The action prepends the install directory to the runner's PATH.
On Linux, libc selects between the glibc build (default, no suffix) and the musl build.
platform |
arch |
Asset |
|---|---|---|
Linux |
x86_64 |
lde-linux-x86-64.zip |
Linux |
x86_64 |
lde-linux-x86-64-musl.zip |
Linux |
aarch64 |
lde-linux-aarch64.zip |
Linux |
aarch64 |
lde-linux-aarch64-musl.zip |
Android |
aarch64 |
lde-android-aarch64.zip |
Darwin |
x86_64 |
lde-macos-x86-64.zip |
Darwin |
arm64 |
lde-macos-aarch64.zip |
FreeBSD |
x86_64 / amd64 |
lde-freebsd-x86-64.zip |
FreeBSD |
aarch64 / arm64 |
lde-freebsd-aarch64.zip |
Windows |
x86_64 |
lde-windows-x86-64.zip |
Windows |
aarch64 |
lde-windows-aarch64.zip |