Skip to content

Commit

Permalink
Merge pull request #429 from ocaml-multicore/branch-5.2
Browse files Browse the repository at this point in the history
Separate workflows for the 5.2 branch
  • Loading branch information
jmid authored Jan 9, 2024
2 parents 8fabe06 + cfe59f0 commit a571972
Show file tree
Hide file tree
Showing 29 changed files with 291 additions and 37 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/cygwin-51x.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Cygwin 5.1

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/cygwin-520-trunk.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Cygwin trunk
name: Cygwin 5.2

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand All @@ -9,5 +14,5 @@ jobs:
runs_on: windows-latest
compiler: ocaml.5.2.0
cygwin: true
compiler_git_ref: refs/heads/trunk
compiler_git_ref: refs/heads/5.2
timeout: 360
18 changes: 18 additions & 0 deletions .github/workflows/cygwin-530-trunk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Cygwin trunk

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
runs_on: windows-latest
compiler: ocaml.5.3.0
cygwin: true
compiler_git_ref: refs/heads/trunk
timeout: 360
7 changes: 6 additions & 1 deletion .github/workflows/linux-51x-32bit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 32bit 5.1

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/linux-51x-bytecode.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Bytecode 5.1

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/linux-51x-debug.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Linux 5.1 debug

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/linux-51x-fp.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: FP 5.1

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/linux-51x.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Linux 5.1

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/linux-520-trunk-32bit.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: 32bit trunk
name: 32bit 5.2

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.2.0+trunk,ocaml-option-32bit'
compiler_git_ref: refs/heads/trunk
compiler_git_ref: refs/heads/5.2
timeout: 240
11 changes: 8 additions & 3 deletions .github/workflows/linux-520-trunk-bytecode.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: Bytecode trunk
name: Bytecode 5.2

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.2.0+trunk,ocaml-option-bytecode-only'
compiler_git_ref: refs/heads/trunk
compiler_git_ref: refs/heads/5.2
timeout: 240
11 changes: 8 additions & 3 deletions .github/workflows/linux-520-trunk-debug.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
name: Linux trunk debug
name: Linux 5.2 debug

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.2.0+trunk'
compiler_git_ref: refs/heads/trunk
compiler_git_ref: refs/heads/5.2
dune_profile: 'debug-runtime'
runparam: 's=4096,v=0,V=1'
timeout: 240
11 changes: 8 additions & 3 deletions .github/workflows/linux-520-trunk-fp.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: FP trunk
name: FP 5.2

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.2.0+trunk,ocaml-option-fp'
compiler_git_ref: refs/heads/trunk
compiler_git_ref: refs/heads/5.2
timeout: 240
11 changes: 8 additions & 3 deletions .github/workflows/linux-520-trunk.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: Linux trunk
name: Linux 5.2

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.2.0+trunk'
compiler_git_ref: refs/heads/trunk
compiler_git_ref: refs/heads/5.2
16 changes: 16 additions & 0 deletions .github/workflows/linux-530-trunk-32bit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 32bit trunk

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.3.0+trunk,ocaml-option-32bit'
compiler_git_ref: refs/heads/trunk
timeout: 240
16 changes: 16 additions & 0 deletions .github/workflows/linux-530-trunk-bytecode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Bytecode trunk

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.3.0+trunk,ocaml-option-bytecode-only'
compiler_git_ref: refs/heads/trunk
timeout: 240
18 changes: 18 additions & 0 deletions .github/workflows/linux-530-trunk-debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Linux trunk debug

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.3.0+trunk'
compiler_git_ref: refs/heads/trunk
dune_profile: 'debug-runtime'
runparam: 's=4096,v=0,V=1'
timeout: 240
16 changes: 16 additions & 0 deletions .github/workflows/linux-530-trunk-fp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: FP trunk

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.3.0+trunk,ocaml-option-fp'
compiler_git_ref: refs/heads/trunk
timeout: 240
15 changes: 15 additions & 0 deletions .github/workflows/linux-530-trunk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Linux trunk

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.3.0+trunk'
compiler_git_ref: refs/heads/trunk
7 changes: 6 additions & 1 deletion .github/workflows/macosx-51x.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: macOS 5.1

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/macosx-520-trunk.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: macOS trunk
name: macOS 5.2

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.2.0+trunk'
compiler_git_ref: refs/heads/trunk
compiler_git_ref: refs/heads/5.2
runs_on: 'macos-latest'
16 changes: 16 additions & 0 deletions .github/workflows/macosx-530-trunk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: macOS trunk

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/common.yml
with:
compiler: 'ocaml-variants.5.3.0+trunk'
compiler_git_ref: refs/heads/trunk
runs_on: 'macos-latest'
7 changes: 6 additions & 1 deletion .github/workflows/mingw-51x-bytecode.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: MinGW bytecode 5.1

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/mingw-51x.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: MinGW 5.1

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand Down
Loading

0 comments on commit a571972

Please sign in to comment.