Skip to content

Switch to GitHub Actions; MSRV 1.41+ #114

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

Merged
merged 1 commit into from
May 27, 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
67 changes: 67 additions & 0 deletions .github/workflows/blake2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: blake2

on:
pull_request:
paths:
- "blake2/**"
- "Cargo.*"
push:
branches: master
paths:
- "blake2/**"
- "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: blake2
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 --no-default-features
working-directory: blake2
- run: cargo test
working-directory: blake2
simd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- run: cargo test --features simd
working-directory: blake2
- run: cargo test --features simd_opt
working-directory: blake2
- run: cargo test --features simd_asm
working-directory: blake2
55 changes: 55 additions & 0 deletions .github/workflows/gost94.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: gost94

on:
pull_request:
paths:
- "gost94/**"
- "Cargo.*"
push:
branches: master
paths:
- "gost94/**"
- "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
- working-directory: gost94
run: cargo build --no-default-features --release --target ${{ matrix.target }}
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
- working-directory: gost94
run: |
cargo check --all-features
cargo test --no-default-features
cargo test
cargo test --all-features

54 changes: 54 additions & 0 deletions .github/workflows/groestl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: groestl

on:
pull_request:
paths:
- "groestl/**"
- "Cargo.*"
push:
branches: master
paths:
- "groestl/**"
- "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
- working-directory: groestl
run: cargo build --no-default-features --release --target ${{ matrix.target }}
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
- working-directory: groestl
run: |
cargo check --all-features
cargo test --no-default-features
cargo test
cargo test --all-features
55 changes: 55 additions & 0 deletions .github/workflows/k12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: k12

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

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
target:
# - thumbv7em-none-eabi # TODO: no_std w/o liballoc
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- working-directory: k12
run: cargo build --no-default-features --release --target ${{ matrix.target }}
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
- working-directory: k12
run: |
cargo check --all-features
cargo test --no-default-features
cargo test
cargo test --all-features

55 changes: 55 additions & 0 deletions .github/workflows/md2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: md2

on:
pull_request:
paths:
- "md2/**"
- "Cargo.*"
push:
branches: master
paths:
- "md2/**"
- "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
- working-directory: md2
run: cargo build --no-default-features --release --target ${{ matrix.target }}
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
- working-directory: md2
run: |
cargo check --all-features
cargo test --no-default-features
cargo test
cargo test --all-features

55 changes: 55 additions & 0 deletions .github/workflows/md4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: md4

on:
pull_request:
paths:
- "md4/**"
- "Cargo.*"
push:
branches: master
paths:
- "md4/**"
- "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
- working-directory: md4
run: cargo build --no-default-features --release --target ${{ matrix.target }}
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
- working-directory: md4
run: |
cargo check --all-features
cargo test --no-default-features
cargo test
cargo test --all-features

Loading