Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenSK
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
koenigl2
OpenSK
Commits
b152bf98
Commit
b152bf98
authored
5 years ago
by
Jean-Michel Picod
Browse files
Options
Downloads
Patches
Plain Diff
Remove jobs breakdown/dependencies as it seems to not work?
parent
51b0e0f4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/rust.yml
+21
-33
21 additions, 33 deletions
.github/workflows/rust.yml
with
21 additions
and
33 deletions
.github/workflows/rust.yml
+
21
−
33
View file @
b152bf98
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment