Skip to content

Private keys should persist between invocations #908

Private keys should persist between invocations

Private keys should persist between invocations #908

Workflow file for this run

name: Platform
on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main", "dev", "*"]
workflow_dispatch:
merge_group:
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
platform:
strategy:
fail-fast: false
matrix:
bits: [32, 64]
os:
- macos-13 # Intel mac
- macos-latest # macos-14 m1
- ubuntu-latest
- windows-latest
exclude:
- bits: 32
os: "macos-latest"
- bits: 32
os: "macos-13"
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
working-directory: sys/platform
steps:
- uses: actions/checkout@v4
- name: Update dependencies
run: cargo update
- name: πŸ”¨ Build
run: cargo build --verbose
- name: πŸƒπŸ»β€β™€οΈ Test
run: cargo test --verbose -- --nocapture
- name: πŸƒπŸ»β€β™€οΈ Test Release
run: cargo test --verbose --release -- --nocapture
- name: πŸ› οΈ Setup Linux x86
if: ${{ matrix.bits == 32 && matrix.os == 'ubuntu-latest' }}
run: |
rustup target add i686-unknown-linux-gnu
sudo apt-get update
sudo apt-get install -y gcc-multilib g++-multilib
- name: πŸƒπŸ»β€β™€οΈ Test Linux x86
if: ${{ matrix.bits == 32 && matrix.os == 'ubuntu-latest' }}
run: cargo test --verbose --target i686-unknown-linux-gnu -- --nocapture
- name: πŸƒπŸ»β€β™€οΈ Test Release Linux x86
if: ${{ matrix.bits == 32 && matrix.os == 'ubuntu-latest' }}
run: cargo test --verbose --release --target i686-unknown-linux-gnu -- --nocapture
- name: πŸƒπŸ»β€β™€οΈ Test Windows x86
if: ${{ matrix.bits == 32 && matrix.os == 'windows-latest' }}
run: cargo test --verbose --target i686-pc-windows-msvc -- --nocapture
- name: πŸƒπŸ»β€β™€οΈ Test Release Windows x86
if: ${{ matrix.bits == 32 && matrix.os == 'windows-latest' }}
run: cargo test --verbose --release --target i686-pc-windows-msvc -- --nocapture