Skip to content

Commit dde07d1

Browse files
committed
CI: Add once-a-week workflows to test 5.0.1 trunk
These workflows use the custom compiler path so that: - it works on Windows (there is no opam package for that branch upstream) - it regularly tests that our custom compiler system keeps working
1 parent 4ec46d8 commit dde07d1

6 files changed

+100
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Bytecode trunk
2+
3+
on:
4+
schedule:
5+
# Every Monday morning, at 1:11 UTC
6+
- cron: '11 1 * * 1'
7+
8+
jobs:
9+
build:
10+
uses: ./.github/workflows/common.yml
11+
with:
12+
compiler: 'ocaml-variants.5.0.1+trunk,ocaml-option-bytecode-only'
13+
compiler_git_ref: 'refs/heads/5.0'
14+
custom_compiler_version: '5.0.1+trunk'
15+
custom_compiler_src: 'https://github.com/ocaml/ocaml/archive/5.0.tar.gz'
16+
timeout: 360
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Linux 5.0 trunk debug
2+
3+
on:
4+
schedule:
5+
# Every Monday morning, at 1:11 UTC
6+
- cron: '11 1 * * 1'
7+
8+
jobs:
9+
build:
10+
uses: ./.github/workflows/common.yml
11+
with:
12+
compiler: 'ocaml-variants.5.0.1+trunk'
13+
compiler_git_ref: 'refs/heads/5.0'
14+
custom_compiler_version: '5.0.1+trunk'
15+
custom_compiler_src: 'https://github.com/ocaml/ocaml/archive/5.0.tar.gz'
16+
dune_profile: 'debug-runtime'
17+
runparam: 'v=0,V=1'
18+
timeout: 360
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Linux 5.0 trunk
2+
3+
on:
4+
schedule:
5+
# Every Monday morning, at 1:11 UTC
6+
- cron: '11 1 * * 1'
7+
8+
jobs:
9+
build:
10+
uses: ./.github/workflows/common.yml
11+
with:
12+
compiler: 'ocaml-variants.5.0.1+trunk'
13+
compiler_git_ref: 'refs/heads/5.0'
14+
custom_compiler_version: '5.0.1+trunk'
15+
custom_compiler_src: 'https://github.com/ocaml/ocaml/archive/5.0.tar.gz'
16+
timeout: 360
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: macOS 5.0 trunk
2+
3+
on:
4+
schedule:
5+
# Every Monday morning, at 1:11 UTC
6+
- cron: '11 1 * * 1'
7+
8+
jobs:
9+
build:
10+
uses: ./.github/workflows/common.yml
11+
with:
12+
runs_on: 'macos-latest'
13+
compiler: 'ocaml-variants.5.0.1+trunk'
14+
compiler_git_ref: 'refs/heads/5.0'
15+
custom_compiler_version: '5.0.1+trunk'
16+
custom_compiler_src: 'https://github.com/ocaml/ocaml/archive/5.0.tar.gz'
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Win bytecode 5.0 trunk
2+
3+
on:
4+
schedule:
5+
# Every Monday morning, at 1:11 UTC
6+
- cron: '11 1 * * 1'
7+
8+
jobs:
9+
build:
10+
uses: ./.github/workflows/common.yml
11+
with:
12+
runs_on: 'windows-latest'
13+
compiler: 'ocaml-variants.5.0.1+trunk,ocaml-option-mingw,ocaml-option-bytecode-only'
14+
compiler_git_ref: 'refs/heads/5.0'
15+
custom_compiler_version: '5.0.1+trunk'
16+
custom_compiler_src: 'https://github.com/ocaml/ocaml/archive/5.0.tar.gz'
17+
timeout: 360
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Windows 5.0 trunk
2+
3+
on:
4+
schedule:
5+
# Every Monday morning, at 1:11 UTC
6+
- cron: '11 1 * * 1'
7+
8+
jobs:
9+
build:
10+
uses: ./.github/workflows/common.yml
11+
with:
12+
runs_on: 'windows-latest'
13+
compiler: 'ocaml-variants.5.0.1+trunk,ocaml-option-mingw'
14+
compiler_git_ref: 'refs/heads/5.0'
15+
custom_compiler_version: '5.0.1+trunk'
16+
custom_compiler_src: 'https://github.com/ocaml/ocaml/archive/5.0.tar.gz'
17+
timeout: 360

0 commit comments

Comments
 (0)