{"id":15061016,"url":"https://github.com/ocaml/ocaml-ci-scripts","last_synced_at":"2025-10-20T00:32:12.904Z","repository":{"id":22364917,"uuid":"25701149","full_name":"ocaml/ocaml-ci-scripts","owner":"ocaml","description":"Skeletons for CI scripts","archived":false,"fork":false,"pushed_at":"2022-10-10T16:16:57.000Z","size":409,"stargazers_count":101,"open_issues_count":28,"forks_count":56,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-29T22:44:05.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ocaml.png","metadata":{"files":{"readme":"README-appveyor.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-24T18:03:28.000Z","updated_at":"2023-07-16T13:39:11.000Z","dependencies_parsed_at":"2023-01-11T21:35:40.604Z","dependency_job_id":null,"html_url":"https://github.com/ocaml/ocaml-ci-scripts","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Focaml-ci-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Focaml-ci-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Focaml-ci-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Focaml-ci-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocaml","download_url":"https://codeload.github.com/ocaml/ocaml-ci-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237236958,"owners_count":19277082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T23:08:11.938Z","updated_at":"2025-10-20T00:32:07.600Z","avatar_url":"https://github.com/ocaml.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Appveyor CI scripts\n\nInstructions:\n\n1. Create an `opam` file at the root of your project. If you use opam\n   1.2, you can simply do `opam pin add PKG .` -- this will open an\n   editor and propose you a template.\n\n2. Copy [appveyor.yml](https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/appveyor.yml)\n   at the root of your project.\n\n3. Enable Appveyor runs on\n   https://ci.appveyor.com/projects (sign in with your\n   Github account and click on `+` on the top pane).\n\nAnd that's it!\n\n## Options\n\nMost of the options detailed in [TravisCI scripts](/README-travis.md)\nare valid.\n\n### OPAM_SWITCH\n\n`OCAML_VERSION` is however handled differently. There are currently\nthree\n[Windows ports of OCaml](https://github.com/ocaml/ocaml/blob/trunk/README.win32.adoc):\n\n- Native Microsoft (msvc)\n- Native Mingw-w64\n- Cygwin\n\nEach variant is available in a 32-bit and 64-bit version.\n\nThe native mingw-w64 port is supported through cygwin's\n[mingw-w64 cross compiler](http://mingw-w64.org/doku.php/download/cygwin),\nthe msvc version through\n[Visual Studio Community 2015](https://www.appveyor.com/docs/installed-software/#visual-studio-2015).\nThe cygwin port is currently not supported by these scripts.\n\nYou can choose between different ports and versions through the\n`OPAM_SWITCH` variable, e.g:\n\n```yaml\nenvironment:\n  matrix:\n    - OPAM_SWITCH: 4.04.0+msvc32\n    - OPAM_SWITCH: 4.03.0+mingw64c\n    # syntax: ${OCAML_VERSION}+${PORT}${WORD_SIZE}c?\n```\n\nSome versions are available as pre-compiled binaries to speed up the\nbuild process (the 'c'-suffix), but not all.\n\nIf you don't specify `OPAM_SWITCH` manually, a recent, pre-compiled\nmingw port (64-bit) is used. The build instructions of many opam\npackages are only compatible with gcc.\n\n### Other environment variables\n\n#### CYG_ROOT\n\nCygwin is used by `ocaml-ci-scripts` and nearly all opam packages\ndepend on it.  By default, the 64-bit version is used. You can switch\nto the 32-bit version by setting `CYG_ROOT` to `C:\\cygwin`.\n\n#### CYG_MIRROR\n\nCygwin must be updated during the install step. The mirror for this\ntask must be specified manually. If the mirror that is normally used\ngoes offline or becomes too slow, you can point `CYG_MIRROR` to\nanother [supported mirror](https://cygwin.com/mirrors.lst).\n\n#### CYG_PKGS\n\nIf you need additional packages from cygwin, you can add them to\n`CYG_PKGS` (comma separated). By default, the `mingw64-x86_64`\ntoolchain is updated. But for most use cases, you should rely on\n[depext-cygwinports](https://fdopen.github.io/opam-repository-mingw/depext-cygwin/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focaml%2Focaml-ci-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focaml%2Focaml-ci-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focaml%2Focaml-ci-scripts/lists"}