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+ #109

Merged
merged 1 commit into from
May 28, 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/aes-ctr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: aes-ctr

on:
pull_request:
paths:
- "aes-ctr/**"
- "Cargo.*"
push:
branches: master
paths:
- "aes-ctr/**"
- "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: aes-ctr
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
working-directory: aes-ctr
- run: cargo test --release
working-directory: aes-ctr
- run: cargo test --release
env:
RUSTFLAGS: "-C target-feature=+aes,+sse2,+ssse3"
working_directory: aes-ctr
52 changes: 52 additions & 0 deletions .github/workflows/cfb-mode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: cfb-mode

on:
pull_request:
paths:
- "cfb-mode/**"
- "Cargo.*"
push:
branches: master
paths:
- "cfb-mode/**"
- "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: cfb-mode
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
working-directory: cfb-mode
- run: cargo test --release
working-directory: cfb-mode
52 changes: 52 additions & 0 deletions .github/workflows/cfb8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: cfb8

on:
pull_request:
paths:
- "cfb8/**"
- "Cargo.*"
push:
branches: master
paths:
- "cfb8/**"
- "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: cfb8
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
working-directory: cfb8
- run: cargo test --release
working-directory: cfb8
60 changes: 60 additions & 0 deletions .github/workflows/chacha20.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: chacha20

on:
pull_request:
paths:
- "chacha20/**"
- "Cargo.*"
push:
branches: master
paths:
- "chacha20/**"
- "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: chacha20
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
working-directory: chacha20
- run: cargo test --release
working-directory: chacha20
- run: cargo test --release
env:
RUSTFLAGS: "-Ctarget-feature=+sse2"
working-directory: chacha20
- run: cargo test --release
env:
RUSTFLAGS: "-Ctarget-feature=+avx2"
working-directory: chacha20
52 changes: 52 additions & 0 deletions .github/workflows/ctr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: ctr

on:
pull_request:
paths:
- "ctr/**"
- "Cargo.*"
push:
branches: master
paths:
- "ctr/**"
- "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: ctr
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
working-directory: ctr
- run: cargo test --release
working-directory: ctr
52 changes: 52 additions & 0 deletions .github/workflows/hc-256.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: hc-256

on:
pull_request:
paths:
- "hc-256/**"
- "Cargo.*"
push:
branches: master
paths:
- "hc-256/**"
- "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: hc-256
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
working-directory: hc-256
- run: cargo test --release
working-directory: hc-256
52 changes: 52 additions & 0 deletions .github/workflows/ofb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: ofb

on:
pull_request:
paths:
- "ofb/**"
- "Cargo.*"
push:
branches: master
paths:
- "ofb/**"
- "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: ofb
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
working-directory: ofb
- run: cargo test --release
working-directory: ofb
Loading