Skip to content

Relax Term::Annotation associated type bounds #279

Relax Term::Annotation associated type bounds

Relax Term::Annotation associated type bounds #279

Workflow file for this run

name: Continuous Integration
on:
push:
env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_AGRIAN_REGISTRY_INDEX: ${{ secrets.AGRIAN_CRATES_REGISTRY }}
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Setup SSH
uses: webfactory/ssh-agent@ee29fafb6aa450493bac9136b346e51ea60a8b5e
with:
ssh-private-key: |
${{ secrets.TELUS_AGCG_MACHINE_USER_KEY }}
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
restore-keys: |
${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
${{ runner.os }}-cargo
- name: cargo test all
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features
check-ios:
name: Test (x86_64-apple-ios)
runs-on: macos-10.15
env:
DYLD_ROOT_PATH: "/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app"
steps:
- name: Setup SSH
uses: webfactory/ssh-agent@ee29fafb6aa450493bac9136b346e51ea60a8b5e
with:
ssh-private-key: |
${{ secrets.TELUS_AGCG_MACHINE_USER_KEY }}
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
restore-keys: |
${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
${{ runner.os }}-cargo
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: x86_64-apple-ios
override: true
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --package wise_units-ffi --all-features --target x86_64-apple-ios