Update itertools requirement from 0.10 to 0.12 in /openmls #389
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [ push, pull_request ] | |
env: | |
CARGO_TERM_COLOR: always | |
defaults: | |
run: | |
working-directory: openmls | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
# latest ring version (WASM compatible) does not build on Windows (and it's fine) | |
# - windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Tests | |
run: | | |
cargo test --release | |
# Test 32 bit builds on windows | |
- name: Install rust target | |
if: matrix.os == 'windows-latest' | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
target: i686-pc-windows-msvc | |
- name: Tests 32bit windows debug & release build | |
if: matrix.os == 'windows-latest' | |
run: | | |
cargo test --release --target i686-pc-windows-msvc | |
# Test 32 bit builds on linux | |
- name: Install rust target | |
if: matrix.os == 'ubuntu-latest' | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
target: i686-unknown-linux-gnu | |
- name: Tests 32bit linux debug & release build | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt update && sudo apt install gcc-multilib | |
cargo test --release --target i686-unknown-linux-gnu | |
test-wasm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: jetli/[email protected] | |
- run: wasm-pack test --headless --chrome --release |