mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 12:19:37 +00:00
Drop old actions-rs actions which seem to no longer be updated.
This commit is contained in:
parent
6770a2ed58
commit
5470b9557d
70
.github/workflows/test.yml
vendored
70
.github/workflows/test.yml
vendored
|
@ -15,78 +15,40 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- run: sudo apt-get update; sudo apt-get install -y libspeechd-dev
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
- run: rustup toolchain install stable
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --all-features --examples
|
||||
if: ${{ runner.os != 'Linux' }}
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --no-default-features --examples
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --all --check
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --all-features
|
||||
if: ${{ runner.os != 'Linux' }}
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --no-default-features
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
- run: |
|
||||
rustup toolchain install stable
|
||||
cargo check --all-features --examples
|
||||
cargo fmt --all --check
|
||||
cargo clippy --all-features
|
||||
|
||||
check_web:
|
||||
name: Check Web
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup toolchain install stable
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --all-features --examples --target wasm32-unknown-unknown
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --all --check
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --all-features --target wasm32-unknown-unknown
|
||||
- run: |
|
||||
rustup toolchain install stable
|
||||
cargo check --all-features --examples --target wasm32-unknown-unknown
|
||||
cargo fmt --all --check
|
||||
cargo clippy --all-features --target wasm32-unknown-unknown
|
||||
|
||||
check_android:
|
||||
name: Check Android
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/install@v0.1
|
||||
with:
|
||||
crate: cargo-apk
|
||||
# use-tool-cache: true
|
||||
- run: |
|
||||
rustup toolchain install stable
|
||||
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: apk
|
||||
args: build
|
||||
cargo install -f cargo-apk
|
||||
cargo apk build
|
||||
|
||||
check_web_example:
|
||||
name: Check Web Example
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup toolchain install stable
|
||||
- uses: actions-rs/install@v0.1
|
||||
with:
|
||||
crate: cargo-make
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: make
|
||||
args: build-web-example
|
||||
- run: |
|
||||
rustup toolchain install stable
|
||||
cargo install cargo-make
|
||||
cargo make build-web-example
|
||||
|
|
Loading…
Reference in New Issue
Block a user