|
|
@ -42,7 +42,7 @@ jobs: |
|
|
|
name: Rustfmt |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -60,7 +60,7 @@ jobs: |
|
|
|
name: Clang format |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- run: git ls-files '*.h' '*.c' '*.cpp' | xargs clang-format-15 --dry-run --Werror --verbose |
|
|
@ -79,7 +79,7 @@ jobs: |
|
|
|
if: needs.determine.outputs.audit |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -103,7 +103,7 @@ jobs: |
|
|
|
if: needs.determine.outputs.audit |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -138,7 +138,7 @@ jobs: |
|
|
|
audit: ${{ steps.calculate.outputs.audit }} |
|
|
|
preview1-adapter: ${{ steps.calculate.outputs.preview1-adapter }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- id: calculate |
|
|
|
env: |
|
|
|
GH_TOKEN: ${{ github.token }} |
|
|
@ -202,7 +202,7 @@ jobs: |
|
|
|
RUSTDOCFLAGS: -Dbroken_intra_doc_links --cfg nightlydoc |
|
|
|
OPENVINO_SKIP_LINKING: 1 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -269,7 +269,7 @@ jobs: |
|
|
|
env: |
|
|
|
CARGO_NDK_VERSION: 2.12.2 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -351,7 +351,7 @@ jobs: |
|
|
|
name: Check Windows ARM64 |
|
|
|
runs-on: windows-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -371,7 +371,7 @@ jobs: |
|
|
|
name: Fuzz Targets |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
# Note that building with fuzzers requires nightly since it uses unstable |
|
|
@ -410,7 +410,7 @@ jobs: |
|
|
|
fail-fast: ${{ github.event_name != 'pull_request' }} |
|
|
|
matrix: ${{ fromJson(needs.determine.outputs.test-matrix) }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -529,7 +529,7 @@ jobs: |
|
|
|
name: Test wasi-nn module |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -557,7 +557,7 @@ jobs: |
|
|
|
deployments: write |
|
|
|
contents: write |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- run: rustup update stable && rustup default stable |
|
|
@ -591,7 +591,7 @@ jobs: |
|
|
|
name: Run benchmarks |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -611,7 +611,7 @@ jobs: |
|
|
|
name: Meta deterministic check |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -629,7 +629,7 @@ jobs: |
|
|
|
if: github.repository == 'bytecodealliance/wasmtime' && needs.determine.outputs.run-full |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- run: rustup update stable && rustup default stable |
|
|
@ -667,7 +667,7 @@ jobs: |
|
|
|
env: |
|
|
|
CARGO_NEXTEST_VERSION: 0.9.51 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
- uses: ./.github/actions/install-rust |
|
|
@ -709,7 +709,7 @@ jobs: |
|
|
|
fail-fast: ${{ github.event_name != 'pull_request' }} |
|
|
|
matrix: ${{ fromJson(needs.determine.outputs.build-matrix) }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
|
|
|
@ -824,7 +824,7 @@ jobs: |
|
|
|
&& startsWith(github.ref, 'refs/heads/release-') |
|
|
|
&& github.repository == 'bytecodealliance/wasmtime' |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
fetch-depth: 0 |
|
|
|