diff options
Diffstat (limited to 'ambient.yaml')
-rw-r--r-- | ambient.yaml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/ambient.yaml b/ambient.yaml index 2527b51..6b673c6 100644 --- a/ambient.yaml +++ b/ambient.yaml @@ -1,5 +1,53 @@ projects: + subplot-libdocs: + image: ~/tmp/ambient/ambient-boot.qcow2 + source: ~/pers/subplot/git + publish_artifacts: true + pre_plan: + - action: cargo_fetch + plan: + - action: rustup_setup + - action: cargo_build + - action: shell + shell: | + ./check doc + cd test-outputs/libdocs + find -ls + for md in *.md; do + pandoc \ + --standalone \ + --self-contained \ + "$md" \ + -o "$(basename "$md" .md)".html + done + find -ls + mv *.html /workspace/artifacts/. + + subplot: + image: ~/tmp/ambient/ambient-boot.qcow2 + source: ~/pers/subplot/git + publish_artifacts: true + pre_plan: + - action: cargo_fetch + plan: + - action: rustup_setup + # - action: cargo_clippy + # - action: cargo_build + - action: shell + shell: | + export PATH="/root/.cargo/bin:$PATH" + ./check --offline -v + rm -rf test-outputs + + V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" + T="$(date -u "+%Y%m%dT%H%M%S")" + version="$V.ci$T-1" + dch -v "$version" "CI build under Ambient." + dch -r '' + + - action: deb + ambient-web: image: ~/tmp/ambient/ambient-boot.qcow2 source: ~/pers/ambient-ci/ambient-web/src/ |