Skip to content

use actual shapes for opaque weights case #7221

use actual shapes for opaque weights case

use actual shapes for opaque weights case #7221

Workflow file for this run

name: Embedded targets
on:
pull_request:
schedule:
- cron: '0 5 * * *'
env:
CARGO_INCREMENTAL: false
FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: true
jobs:
linux:
strategy:
fail-fast: false
matrix:
platform:
- raspbian
- aarch64-unknown-linux-gnu
- aarch64-unknown-linux-gnu-stretch
- armv6vfp-unknown-linux-gnueabihf
- armv7-unknown-linux-gnueabihf
- armv7-unknown-linux-gnueabihf-stretch
- aarch64-unknown-linux-musl
- cortexa53-unknown-linux-musl
- armv7-unknown-linux-musl
- aarch64-linux-android
- armv7-linux-androideabi
- i686-linux-android
- x86_64-linux-android
- wasm32-unknown-unknown
- wasm32-wasi
runs-on: ubuntu-20.04
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- name: Configure AWS Credentials
# if: github.repository == 'sonos/tract'
continue-on-error: true
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::567805100031:role/github-runner-tract-ci
aws-region: us-east-2
- uses: actions/cache@v4
with:
path: |
~/.rustup
~/.cargo/registry
~/.cargo/git
# ~/.cache/sccache
.cached
target
key: ${{ runner.os }}-${{matrix.platform}}-${{steps.date.outputs.date}}
# - name: "Setup sccache"
# run: .travis/setup-sccache.sh
- name: Cross script
env:
PLATFORM: ${{matrix.platform}}
AWS_EC2_METADATA_DISABLED: true
run: .travis/cross.sh
# - name: Stop sccache server
# run: sccache --stop-server || true
apple:
strategy:
fail-fast: false
matrix:
platform:
- aarch64-apple-ios
- aarch64-apple-darwin
runs-on: macOS-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Configure AWS Credentials
# if: github.repository == 'sonos/tract'
continue-on-error: true
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::567805100031:role/github-runner-tract-ci
aws-region: us-east-2
- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
with:
path: |
~/.rustup
~/.cargo/registry
~/.cargo/git
~/.cache/sccache
.cached
target
key: ${{ runner.os }}-${{matrix.platform}}-${{steps.date.outputs.date}}
# - name: "Setup sccache"
# run: .travis/setup-sccache.sh
- name: Cross script
env:
PLATFORM: ${{matrix.platform}}
run: .travis/cross.sh
# - name: Stop sccache server
# run: sccache --stop-server || true