Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new docs build system * update ci config * update meson build * wip * wip * wip * wip * wip * fix index.d * update config * ditto * update ci * update circle ci * wip * wip * wip * wip
- Loading branch information
Showing
16 changed files
with
175 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,36 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
mirci: libmir/upload_docs@0.0.0 | ||
mirci: libmir/upload_docs@0.0.0 | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: libmir/circle-dlang | ||
steps: | ||
- checkout | ||
- run: git submodule sync && git submodule update --recursive --init | ||
# - run: dub test | ||
# - run: dub test -c dips | ||
- run: meson -D with_test=true build | ||
# - run: ninja -C build test -j1 | ||
- run: make -f doc/Makefile html | ||
- mirci/persist_docs: | ||
from: web | ||
build: | ||
docker: | ||
- image: libmir/circle-dlang | ||
steps: | ||
- checkout | ||
- run: cp -r /repo/* ./ && cat meson.build.1 >> meson.build | ||
- run: meson build --default-library=static -D with_test=true -D with_doc=true | ||
- run: ninja -C build test -j1 | ||
- run: cp -r build/web ./ | ||
- mirci/persist_docs: | ||
from: web | ||
|
||
workflows: | ||
version: 2 | ||
build-deploy: | ||
jobs: | ||
- build | ||
- mirci/upload_docs_job: | ||
from: web | ||
to: mir-algorithm.libmir.org | ||
requires: | ||
version: 2 | ||
build-deploy: | ||
jobs: | ||
- build: | ||
filters: | ||
tags: | ||
only: /^v(\d)+(\.(\d)+)+$/ | ||
- mirci/upload_docs_job: | ||
from: web | ||
to: mir-algorithm.libmir.org | ||
requires: | ||
- build | ||
filters: | ||
branches: | ||
only: master | ||
filters: | ||
branches: | ||
only: master | ||
tags: | ||
only: /^v(\d)+(\.(\d)+)+$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,4 @@ mir-core | |
mir-algorithm-test-dip1008 | ||
test | ||
test.d | ||
docgen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.