Skip to content

Commit 92ec854

Browse files
committed
ci: Setup DKMLDIR for cross-unix.yml
1 parent 21c3719 commit 92ec854

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/cross-unix.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ jobs:
8484
run: |
8585
set -x
8686
OCAMLVER=$(cat src/version.ocaml.txt | tr -d '\r')
87+
SEMVER=$(cat src/version.semver.txt | tr -d '\r')
88+
89+
# Create a DKMLDIR
90+
printf 'dkml_root_version=%s\\n' "$SEMVER" | sed 's/[0-9.]*~v//; s/~/-/' > .dkmlroot
91+
install -d vendor
92+
git -C vendor clone https://github.com/diskuv/dkml-runtime-common.git drc
93+
8794
src/r-c-ocaml-1-setup.sh \
8895
-d . \
8996
-t "${{ env.DIST_DIR }}" \

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ stage/
3232
/.opam/
3333
# Desktop testing on Windows uses MSYS2.
3434
/msys64/
35+
36+
# ci: cross-unix.yml
37+
/vendor/drc/

0 commit comments

Comments
 (0)