Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to GitHub Actions; MSRV 1.41+ #26

Merged
merged 1 commit into from
May 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/cmac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: cmac

on:
pull_request:
paths:
- "cmac/**"
- "Cargo.*"
push:
branches: master
paths:
- "cmac/**"
- "Cargo.*"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
working-directory: cmac
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
working-directory: cmac
53 changes: 53 additions & 0 deletions .github/workflows/daa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: daa

on:
pull_request:
paths:
- "daa/**"
- "Cargo.*"
push:
branches: master
paths:
- "daa/**"
- "Cargo.*"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
working-directory: daa
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
working-directory: daa
53 changes: 53 additions & 0 deletions .github/workflows/hmac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: hmac

on:
pull_request:
paths:
- "hmac/**"
- "Cargo.*"
push:
branches: master
paths:
- "hmac/**"
- "Cargo.*"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
working-directory: hmac
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
working-directory: hmac
53 changes: 53 additions & 0 deletions .github/workflows/pmac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: pmac

on:
pull_request:
paths:
- "pmac/**"
- "Cargo.*"
push:
branches: master
paths:
- "pmac/**"
- "Cargo.*"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
working-directory: pmac
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
working-directory: pmac
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
target/
*/target/
*/*/target/
Cargo.lock
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

Loading