-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split
drom-share
into another directory
Add options in `drom.toml`: [project] share-repo = ".." # URL of drom-share repo to use share-version = ".." # Version of drom-share repo to use Allow projects to keep a specific version of `drom-share` even when `drom` versions are changing. Users can specify their own drom-share repo with user-contributed skeletons and licenses. Also: remove duplicate code of call.ml from misc.ml
- Loading branch information
Showing
247 changed files
with
1,774 additions
and
5,638 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
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,5 +1,6 @@ | ||
name: Main Workflow | ||
|
||
# use fields.git-main-branch to change from master | ||
on: | ||
pull_request: | ||
branches: | ||
|
@@ -30,6 +31,8 @@ jobs: | |
|
||
runs-on: ${{ matrix.os }} | ||
|
||
# use fields.github-workflow-env to add something here | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
@@ -55,7 +58,7 @@ jobs: | |
git config --global user.name github-actions | ||
git config --global user.email [email protected] | ||
# define opam-repo = "git+https://" to add an extra opam repo | ||
# use fields.opam-repo = "git+https://" to add an 'extra' opam repository | ||
|
||
- run: opam pin add . -y --no-action | ||
|
||
|
@@ -65,21 +68,28 @@ jobs: | |
- run: opam install -y opam/*.opam --deps-only --with-test | ||
# if: steps.cache-opam.outputs.cache-hit != 'true' | ||
|
||
# - run: opam upgrade --fixup | ||
# - run: opam upgrade --fixup | ||
# if: steps.cache-opam.outputs.cache-hit == 'true' | ||
|
||
- run: dos2unix scripts/*.sh | ||
# Use fields.build-scripts to add more scripts to convert here | ||
- run: dos2unix scripts/*.sh | ||
if: matrix.os == 'windows-latest' | ||
|
||
# Use fields.github-workflow-before-build to add something here | ||
|
||
- run: make build | ||
|
||
# Use fields.github-workflow-after-build to add something here | ||
|
||
- name: run test suite | ||
run: | | ||
./scripts/before.sh test | ||
opam exec -- dune build @runtest | ||
./scripts/after.sh test | ||
if: matrix.skip_test != 'true' | ||
|
||
# Use fields.github-workflow-after-test to add something here | ||
|
||
- name: test source is well formatted | ||
run: make fmt | ||
continue-on-error: true | ||
|
@@ -103,3 +113,6 @@ jobs: | |
BRANCH: gh-pages | ||
FOLDER: _drom/docs/ | ||
CLEAN: true | ||
|
||
# Use fields.github-workflow-trailer to add a trailer here | ||
|
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,3 +1,3 @@ | ||
vendor/** | ||
src/drom_lib/share/** | ||
|
||
|
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.