From 0ffd5b6a76054782d5981fef4da6fed2870620e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Thu, 2 Jul 2020 08:15:21 +0300 Subject: [PATCH 1/3] add GH actions for blobby --- .github/workflows/blobby.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/blobby.yml diff --git a/.github/workflows/blobby.yml b/.github/workflows/blobby.yml new file mode 100644 index 00000000..fd4e69ef --- /dev/null +++ b/.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 From e5a95b20df39b7d05ebb1234dff0ba56ccc3ffc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Thu, 2 Jul 2020 08:16:19 +0300 Subject: [PATCH 2/3] disable Travis CI --- .travis.yml | 10 ---------- .workspace.rs | 0 2 files changed, 10 deletions(-) delete mode 100644 .travis.yml delete mode 100644 .workspace.rs diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d6b95fda..00000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: rust -rust: - - stable - - beta - - nightly -matrix: - allow_failures: - - rust: nightly -script: cargo test --verbose --all - diff --git a/.workspace.rs b/.workspace.rs deleted file mode 100644 index e69de29b..00000000 From f7fc7868dd038a84292531660c44acd4c13a3d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Thu, 2 Jul 2020 08:30:20 +0300 Subject: [PATCH 3/3] add cfgs --- .github/workflows/block-buffer.yml | 55 +++++++++++++++++++++++++++++ .github/workflows/block-padding.yml | 52 +++++++++++++++++++++++++++ .github/workflows/cpuid-bool.yml | 33 +++++++++++++++++ .github/workflows/dbl.yml | 52 +++++++++++++++++++++++++++ .github/workflows/hex-literal.yml | 52 +++++++++++++++++++++++++++ .github/workflows/opaque-debug.yml | 52 +++++++++++++++++++++++++++ 6 files changed, 296 insertions(+) create mode 100644 .github/workflows/block-buffer.yml create mode 100644 .github/workflows/block-padding.yml create mode 100644 .github/workflows/cpuid-bool.yml create mode 100644 .github/workflows/dbl.yml create mode 100644 .github/workflows/hex-literal.yml create mode 100644 .github/workflows/opaque-debug.yml diff --git a/.github/workflows/block-buffer.yml b/.github/workflows/block-buffer.yml new file mode 100644 index 00000000..18352170 --- /dev/null +++ b/.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 diff --git a/.github/workflows/block-padding.yml b/.github/workflows/block-padding.yml new file mode 100644 index 00000000..2e215344 --- /dev/null +++ b/.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 diff --git a/.github/workflows/cpuid-bool.yml b/.github/workflows/cpuid-bool.yml new file mode 100644 index 00000000..c9d11fb9 --- /dev/null +++ b/.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 diff --git a/.github/workflows/dbl.yml b/.github/workflows/dbl.yml new file mode 100644 index 00000000..5ee7eebe --- /dev/null +++ b/.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 diff --git a/.github/workflows/hex-literal.yml b/.github/workflows/hex-literal.yml new file mode 100644 index 00000000..5d61be0a --- /dev/null +++ b/.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 diff --git a/.github/workflows/opaque-debug.yml b/.github/workflows/opaque-debug.yml new file mode 100644 index 00000000..a7cf16d4 --- /dev/null +++ b/.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