Skip to content

add test_signature_key_pair #18

add test_signature_key_pair

add test_signature_key_pair #18

Workflow file for this run

name: build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
fail-fast: false
matrix:
arch:
# Windows
- i686-pc-windows-msvc
- x86_64-pc-windows-msvc
# macOS
- x86_64-apple-darwin
- aarch64-apple-darwin
# Linux
- x86_64-unknown-linux-gnu
- i686-unknown-linux-gnu
- aarch64-unknown-linux-gnu
# Android
- aarch64-linux-android
- armv7-linux-androideabi
- x86_64-linux-android
- i686-linux-android
# iOS
- aarch64-apple-ios
# WASM
- wasm32-unknown-unknown
include:
# Compile iOS sim on macOS
- os: macos-latest
arch: aarch64-apple-ios-sim
mode:
- debug
- release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Install the required target
- uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.arch }}
- uses: Swatinem/rust-cache@v2
- run: |
if [ ${{ matrix.mode }} == debug ]; then
echo "TEST_MODE=" >> $GITHUB_ENV
else
echo "TEST_MODE=--release" >> $GITHUB_ENV
fi
- name: Build
run: cargo build $TEST_MODE --verbose --target ${{ matrix.arch }} -p rmls