Skip to content

jolocom/devops-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jolocom DevOps CI test

Description

Create CI, which will run unit tests, build with release configuration, collect platform specific binary libraries and publish them as release artefact.

Detailed steps

  • fork this repository;
  • this repository is Rust's workspace - should be built like one;
  • each step should continue only if previous one succeeded;
  • use SHELL script for post-build binaries collection step;
  • can use cargo based snippet (may require editing), but be careful with double outputs:
cargo b -q --message-format json | jq -r '
    select (
         .reason == "compiler-artifact"
     ) | select(
         .target.kind | any(
             . == "cdylib"
         )
     ) | .filenames |
     unique | .[]
'
  • completing this task in any other way, but with desired result is acceptable;

Extra points (not mandatory)

  • add formatter check as first step;
  • CI badge[s] in the README;
  • auto publish to crates.io;
  • CI for different targets [Windows/Linux/MacOS/etc.];

GL/HF

About

Test task for DevOps engineer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages