this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[new release] dkml-workflows (1.0.0)

CHANGES:

New Features:
1. Support GitLab CI/CD
2. Support desktop testing on Windows
3. GitHub now uses a composite action rather than a child
workflow, resulting in less artifact copying and
quicker builds.

There are significant breaking changes. It will be far easier
to onboard with [the new version `v1` instructions](https://github.com/diskuv/dkml-workflows/tree/v1#readme)
and then remove your `v0` code, rather than try to do an in-place upgrade:
* Any custom build logic you have in your GitHub workflow should go into
the new `ci/build-test.sh`. Alternatively, if you don't care about ever running troubleshooting
CI on your desktop or GitLab, directly into your new `.github/workflows/build-with-dkml.yml`.

Breaking changes:
- The GitHub child workflow has been replaced by a GitHub composite action
- Input variables have been renamed to allow the same variable names between GitHub Actions and
GitLab CI/CD (the latter does not support dashes in variable names).

| Old Name | New Name |
| ------------------------- | ------------------------- |
| cache-prefix | CACHE_PREFIX |
| ocaml-compiler | OCAML_COMPILER |
| dkml-compiler | DKML_COMPILER |
| conf-dkml-cross-toolchain | CONF_DKML_CROSS_TOOLCHAIN |
| diskuv-opam-repository | DISKUV_OPAM_REPOSITORY |
| ocaml-options | ocaml_options |
| vsstudio-arch | vsstudio_arch |
| vsstudio-hostarch | vsstudio_hostarch |
| vsstudio-dir | vsstudio_dir |
| vsstudio-vcvarsver | vsstudio_vcvarsver |
| vsstudio-winsdkver | vsstudio_winsdkver |
| vsstudio-msvspreference | vsstudio_msvspreference |
| vsstudio-cmakegenerator | vsstudio_cmakegenerator |

- Matrix variables have been renamed to allow the same variable names between GitHub Actions and
GitLab CI/CD (the latter does not support dashes in variable names).

- The shell matrix variable `default_shell` has been renamed `gh_unix_shell`

- The operating system matrix variable has been reorganized to distingush GitHub
from GitLab:

- `os` is now `gh_os` and in use only for GitHub Actions
- `gl_tags` and `gl_image` are the new GitLab CI/CD equivalents. GitLab CI/CD uses tags like
`[shared-windows, windows, windows-1809]` to specify the type of runner machine to use,
and for macOS image you can supply an XCode version like `macos-11-xcode-12`.

+35
+35
packages/dkml-workflows/dkml-workflows.1.0.0/opam
··· 1 + opam-version: "2.0" 2 + synopsis: 3 + "GitLab CI/CD and GitHub Action workflows used by and with Diskuv OCaml (DKML) tooling" 4 + description: 5 + "GitLab CI/CD and GitHub Action workflows used by and with Diskuv OCaml (DKML) tooling." 6 + maintainer: ["opensource+diskuv-ocaml@support.diskuv.com"] 7 + authors: ["Diskuv, Inc. <opensource+diskuv-ocaml@support.diskuv.com>"] 8 + license: "Apache-2.0" 9 + homepage: "https://github.com/diskuv/dkml-workflows" 10 + bug-reports: "https://github.com/diskuv/dkml-workflows/issues" 11 + depends: [ 12 + "dune" {>= "2.9"} 13 + "astring" {>= "0.8.5"} 14 + "bos" {>= "0.2.1"} 15 + "crunch" {>= "3.2.0"} 16 + "jingoo" {>= "1.4.4"} 17 + "uutf" {>= "1.0.3"} 18 + "odoc" {with-doc} 19 + ] 20 + dev-repo: "git+https://github.com/diskuv/dkml-workflows.git" 21 + # Until Dune 3+ the auto-generated '.opam' will have an invalid ["dune" "install" ...] step 22 + # that messes up with cross-compilation. Customized it to remove it. 23 + build: [ 24 + ["dune" "subst"] {dev} 25 + ["dune" "build" "-p" name "-j" jobs "@install" "@runtest" {with-test} "@doc" {with-doc}] 26 + ] 27 + url { 28 + src: 29 + "https://github.com/diskuv/dkml-workflows/releases/download/1.0.0/dkml-workflows-1.0.0.tbz" 30 + checksum: [ 31 + "sha256=cce60466c295727f4756f308d08372f73ad32c90d2557c86f40840fd5c36325d" 32 + "sha512=6f52c5c14d03c3361208e7c1d128c5a3936c4b3d93fbe5d0c62da119062078c1d38e2bed99efeb0b5abe1472140d407a8b238708339f8a9a113deb27640b28e0" 33 + ] 34 + } 35 + x-commit-hash: "bd6cc6e4cca912ab79101ce2377fe1ee29b80bb5"