Skip to content

Commit a4105ed

Browse files
committed
Use default opam repos in CI
1 parent 7e77d75 commit a4105ed

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ jobs:
2828
with:
2929
ocaml-compiler: 5.2.1
3030

31-
- name: Add Jane Street preview repositories
32-
run: |
33-
opam repo add janestreet-bleeding-external git+https://github.com/janestreet/opam-repository.git#external-packages
34-
opam repo add janestreet-bleeding git+https://github.com/janestreet/opam-repository.git
35-
opam update
36-
3731
- name: Install OCaml dependencies
3832
run: opam install . --deps-only --with-test -y
3933

scripts/check-ci-workflow.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ reject_contains() {
4040
require_contains \
4141
"$workflow" \
4242
"runs-on: macos-15-intel" \
43-
"CI must run on Intel macOS because bonsai_apple needs Apple headers and current Melange dependencies fail on macOS arm64."
43+
"CI must run on a pinned macOS runner because bonsai_apple builds stubs that include dispatch/dispatch.h."
4444

4545
reject_contains \
4646
"$workflow" \
@@ -50,7 +50,12 @@ reject_contains \
5050
reject_contains \
5151
"$workflow" \
5252
"runs-on: macos-latest" \
53-
"CI must not use macos-latest because it currently selects an arm64 runner for public repositories."
53+
"CI must not use macos-latest because the backing image can drift under this Apple-specific build."
54+
55+
reject_contains \
56+
"$workflow" \
57+
"janestreet-bleeding" \
58+
"CI must not add Jane Street bleeding repositories because they can select preview dependencies incompatible with fresh macOS runners."
5459

5560
require_contains \
5661
"$workflow" \

0 commit comments

Comments
 (0)