Skip to content

Commit

Permalink
Migrate to Github Actions (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jul 2, 2020
1 parent 0ddc5c4 commit b4be463
Show file tree
Hide file tree
Showing 9 changed files with 329 additions and 10 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/blobby.yml
@@ -0,0 +1,33 @@
name: blobby

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

defaults:
run:
working-directory: blobby

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.36.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: cargo test --release
55 changes: 55 additions & 0 deletions .github/workflows/block-buffer.yml
@@ -0,0 +1,55 @@
name: block-buffer

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

defaults:
run:
working-directory: block-buffer

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

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 --release --target ${{ matrix.target }}
- run: cargo build --features block-padding --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 }}
- run: cargo test --release
- run: cargo test --features block-padding --release
- run: cargo test --all-features --release
52 changes: 52 additions & 0 deletions .github/workflows/block-padding.yml
@@ -0,0 +1,52 @@
name: block-padding

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

defaults:
run:
working-directory: block-padding

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

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 --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 }}
- run: cargo test --release
33 changes: 33 additions & 0 deletions .github/workflows/cpuid-bool.yml
@@ -0,0 +1,33 @@
name: cpuid-bool

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

defaults:
run:
working-directory: cpuid-bool

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.32.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: cargo test --release
52 changes: 52 additions & 0 deletions .github/workflows/dbl.yml
@@ -0,0 +1,52 @@
name: dbl

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

defaults:
run:
working-directory: dbl

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

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 --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 }}
- run: cargo test --release
52 changes: 52 additions & 0 deletions .github/workflows/hex-literal.yml
@@ -0,0 +1,52 @@
name: hex-literal

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

defaults:
run:
working-directory: hex-literal

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.31.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 --release --target ${{ matrix.target }}
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.31.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: cargo test --release
52 changes: 52 additions & 0 deletions .github/workflows/opaque-debug.yml
@@ -0,0 +1,52 @@
name: opaque-debug

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

defaults:
run:
working-directory: opaque-debug

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.31.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 --release --target ${{ matrix.target }}
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.31.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: cargo test --release
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

Empty file removed .workspace.rs
Empty file.

0 comments on commit b4be463

Please sign in to comment.