Skip to content
Snippets Groups Projects
Commit b152bf98 authored by Jean-Michel Picod's avatar Jean-Michel Picod
Browse files

Remove jobs breakdown/dependencies as it seems to not work?

parent 51b0e0f4
No related branches found
No related tags found
No related merge requests found
...@@ -11,8 +11,7 @@ on: [push] ...@@ -11,8 +11,7 @@ on: [push]
# - '!third_party/**' # - '!third_party/**'
jobs: jobs:
initial_setup: cargo:
name: Set up project
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
...@@ -21,67 +20,56 @@ jobs: ...@@ -21,67 +20,56 @@ jobs:
toolchain: nightly toolchain: nightly
target: thumbv7em-none-eabi target: thumbv7em-none-eabi
override: true override: true
- name: Set up Python 3.7 - uses: actions/setup-python@v1
uses: actions/setup-python@v1
with: with:
python-version: 3.7 python-version: 3.7
- run: python -m pip install --upgrade pip setuptools wheel - name: Install Python dependencies
- run: ./setup.sh run: python -m pip install --upgrade pip setuptools wheel
- name: Set up OpenSK
run: ./setup.sh
cargo_format_src: - name: Cargo format src/
name: Cargo format src/ uses: actions-rs/cargo@v1
runs-on: ubuntu-latest
needs: initial_setup
steps:
- uses: actions-rs/cargo@v1
with: with:
command: fmt command: fmt
args: --all -- --check args: --all -- --check
cargo_format_cbor:
name: Cargo format libraries/cbor - name: Cargo format libraries/cbor
runs-on: ubuntu-latest uses: actions-rs/cargo@v1
needs: initial_setup
steps:
- run: cd libraries/crypto
- uses: actions-rs/cargo@v1
with: with:
command: fmt command: fmt
args: --all -- --check args: --manifest-path libraries/cbor/Cargo.toml --all -- --check
cargo_format_crypto:
name: Cargo format libraries/crypto - name: Cargo format libraries/crypto
runs-on: ubuntu-latest uses: actions-rs/cargo@v1
needs: initial_setup
steps:
- run: cd libraries/crypto
- uses: actions-rs/cargo@v1
with: with:
command: fmt command: fmt
args: --all -- --check args: --manifest-path libraries/crypto/Cargo.toml --all -- --check
cargo_check:
name: Cargo Check
runs-on: ubuntu-latest
needs: initial_setup
steps:
- name: Check OpenSK w/o features - name: Check OpenSK w/o features
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: check command: check
args: --target thumbv7em-none-eabi --release args: --target thumbv7em-none-eabi --release
- name: Check OpenSK with_ctap1 - name: Check OpenSK with_ctap1
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: check command: check
args: --target thumbv7em-none-eabi --release --features with_ctap1 args: --target thumbv7em-none-eabi --release --features with_ctap1
- name: Check OpenSK debug_ctap - name: Check OpenSK debug_ctap
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: check command: check
args: --target thumbv7em-none-eabi --release --features debug_ctap args: --target thumbv7em-none-eabi --release --features debug_ctap
- name: Check OpenSK debug_ctap,with_ctap1 - name: Check OpenSK debug_ctap,with_ctap1
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: check command: check
args: --target thumbv7em-none-eabi --release --features debug_ctap,with_ctap1 args: --target thumbv7em-none-eabi --release --features debug_ctap,with_ctap1
- name: Check examples - name: Check examples
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment