Skip to content

jmk47912204/devops-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jolocom-ci-devops-test-badge Actions Status: ci-devops-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

  • Rust 100.0%