mirror of
https://github.com/extism/extism.git
synced 2026-01-09 05:47:54 -05:00
cleanup: remove android release (#823)
Also switches to actions-rust-lang/setup-rust-toolchain@v1 since actions-rs/toolchain is deprecated
This commit is contained in:
42
.github/workflows/release.yml
vendored
42
.github/workflows/release.yml
vendored
@@ -38,20 +38,6 @@ jobs:
|
|||||||
static-dll-artifact: ''
|
static-dll-artifact: ''
|
||||||
pc-in: 'extism.pc.in'
|
pc-in: 'extism.pc.in'
|
||||||
static-pc-in: 'extism-static.pc.in'
|
static-pc-in: 'extism-static.pc.in'
|
||||||
- os: 'ubuntu'
|
|
||||||
target: 'aarch64-linux-android'
|
|
||||||
artifact: 'libextism.so'
|
|
||||||
static-artifact: 'libextism.a'
|
|
||||||
static-dll-artifact: ''
|
|
||||||
pc-in: 'extism.pc.in'
|
|
||||||
static-pc-in: 'extism-static.pc.in'
|
|
||||||
- os: 'ubuntu'
|
|
||||||
target: 'x86_64-linux-android'
|
|
||||||
artifact: 'libextism.so'
|
|
||||||
static-artifact: 'libextism.a'
|
|
||||||
static-dll-artifact: ''
|
|
||||||
pc-in: 'extism.pc.in'
|
|
||||||
static-pc-in: 'extism-static.pc.in'
|
|
||||||
- os: 'ubuntu'
|
- os: 'ubuntu'
|
||||||
target: 'aarch64-unknown-linux-gnu'
|
target: 'aarch64-unknown-linux-gnu'
|
||||||
artifact: 'libextism.so'
|
artifact: 'libextism.so'
|
||||||
@@ -112,13 +98,11 @@ jobs:
|
|||||||
pyproject="$(cat extism-maturin/pyproject.toml)"
|
pyproject="$(cat extism-maturin/pyproject.toml)"
|
||||||
<<<"$pyproject" >extism-maturin/pyproject.toml sed -e 's/^version = "0.0.0.replaced-by-ci"/version = "'"$version"'"/g'
|
<<<"$pyproject" >extism-maturin/pyproject.toml sed -e 's/^version = "0.0.0.replaced-by-ci"/version = "'"$version"'"/g'
|
||||||
|
|
||||||
- name: Install Rust
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
|
||||||
profile: minimal
|
|
||||||
override: true
|
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
|
override: true
|
||||||
|
toolchain: stable
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
@@ -126,20 +110,16 @@ jobs:
|
|||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
cache-on-failure: "true"
|
cache-on-failure: "true"
|
||||||
|
|
||||||
- name: Install libunwind
|
- name: Build Target (${{ matrix.os }} ${{ matrix.target }})
|
||||||
if: ${{ matrix.target == 'x86_64-linux-android' }}
|
if: ${{ matrix.os != 'windows' }}
|
||||||
run: sudo apt install libunwind-dev
|
run: |
|
||||||
|
cargo install cross
|
||||||
- name: Install libunwind
|
cross build --release --target ${{ matrix.target }} -p ${{ env.RUNTIME_CRATE }}
|
||||||
if: ${{ matrix.target == 'aarch64-linux-android' }}
|
|
||||||
run: sudo apt install libunwind-dev
|
|
||||||
|
|
||||||
- name: Build Target (${{ matrix.os }} ${{ matrix.target }})
|
- name: Build Target (${{ matrix.os }} ${{ matrix.target }})
|
||||||
uses: actions-rs/cargo@v1
|
if: ${{ matrix.os == 'windows' }}
|
||||||
with:
|
run: |
|
||||||
use-cross: ${{ matrix.os != 'windows' }}
|
cargo build --release --target ${{ matrix.target }} -p ${{ env.RUNTIME_CRATE }}
|
||||||
command: build
|
|
||||||
args: --release --target ${{ matrix.target }} -p ${{ env.RUNTIME_CRATE }}
|
|
||||||
|
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
16
README.md
16
README.md
@@ -36,6 +36,22 @@ function linking, and more. Extism users build:
|
|||||||
- web applications
|
- web applications
|
||||||
- & much more...
|
- & much more...
|
||||||
|
|
||||||
|
# Supported Targets
|
||||||
|
|
||||||
|
We currently provide releases for the following targets:
|
||||||
|
|
||||||
|
- aarch64-apple-darwin
|
||||||
|
- aarch64-unknown-linux-gnu
|
||||||
|
- aarch64-unknown-linux-musl
|
||||||
|
- x86_64-apple-darwin
|
||||||
|
- x86_64-pc-windows-gnu
|
||||||
|
- x86_64-pc-windows-msvc
|
||||||
|
- x86_64-unknown-linux-gnu
|
||||||
|
- x86_64-unknown-linux-musl
|
||||||
|
|
||||||
|
For Android we suggest taking a look at the [Chicory SDK](https://github.com/extism/chicory-sdk) for a pure Java
|
||||||
|
Extism runtime.
|
||||||
|
|
||||||
# Run WebAssembly In Your App
|
# Run WebAssembly In Your App
|
||||||
|
|
||||||
Pick a SDK to import into your program, and refer to the documentation to get
|
Pick a SDK to import into your program, and refer to the documentation to get
|
||||||
|
|||||||
Reference in New Issue
Block a user