Skip to content

Commit c375b09

Browse files
committed
Update workflow
1 parent 168450e commit c375b09

File tree

4 files changed

+17
-31
lines changed

4 files changed

+17
-31
lines changed

.github/workflows/dune.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
id: cache
5858
with:
5959
path: ${{ github.workspace }}/install
60-
key: ${{ matrix.os }}-cache-install-ocaml4111-flambda-dune213
60+
key: ${{ matrix.os }}-cache-install-ocaml4120-flambda-dune213
6161

6262
# ### STEP 1 ###
6363
# Get a working 4.10 statmemprof ocaml install, with dune
@@ -79,7 +79,7 @@ jobs:
7979
with:
8080
repository: 'ocaml/ocaml'
8181
path: 'base'
82-
ref: '4.11'
82+
ref: '4.12'
8383
# Apply ocamltest patch to 4.10 repo
8484
- name: Apply ocamltest patch
8585
if: steps.cache.outputs.cache-hit != 'true'
@@ -106,7 +106,7 @@ jobs:
106106
uses: actions/checkout@master
107107
with:
108108
repository: 'ocaml/dune'
109-
ref: '2.1.3'
109+
ref: '2.8.0'
110110
path: 'dune'
111111
# Build and install dune
112112
- name: Build and install dune
@@ -206,5 +206,3 @@ jobs:
206206
#- name: Running the testsuite
207207
# working-directory: test
208208
# run: cd testsuite && make list-parallel FILE=../.github/workflows/dune.list
209-
210-

.github/workflows/ocamltest_dune.patch

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/ocamltest/ocaml_compilers.ml b/ocamltest/ocaml_compilers.ml
2-
index bb3ed6ae4..c3e635ddf 100644
2+
index a47c2ae6f..90d62b8b7 100644
33
--- a/ocamltest/ocaml_compilers.ml
44
+++ b/ocamltest/ocaml_compilers.ml
55
@@ -40,14 +40,20 @@ class compiler
@@ -24,10 +24,10 @@ index bb3ed6ae4..c3e635ddf 100644
2424
method ! reference_file env prefix =
2525
let default = tool#reference_file env prefix in
2626
diff --git a/ocamltest/ocaml_tests.ml b/ocamltest/ocaml_tests.ml
27-
index 964eaa2f6..acce5b1a3 100644
27+
index b42172d37..6cf4f6718 100644
2828
--- a/ocamltest/ocaml_tests.ml
2929
+++ b/ocamltest/ocaml_tests.ml
30-
@@ -22,16 +22,18 @@ open Ocaml_actions
30+
@@ -22,10 +22,12 @@ open Ocaml_actions
3131
let bytecode =
3232
let opt_actions =
3333
[
@@ -40,14 +40,7 @@ index 964eaa2f6..acce5b1a3 100644
4040
] in
4141
{
4242
test_name = "bytecode";
43-
test_run_by_default = true;
44-
test_actions =
45-
- [
46-
+ [
47-
setup_ocamlc_byte_build_env;
48-
ocamlc_byte;
49-
check_ocamlc_byte_output;
50-
@@ -43,15 +45,19 @@ let bytecode =
43+
@@ -43,14 +45,16 @@ let bytecode =
5144
let native =
5245
let opt_actions =
5346
[
@@ -63,9 +56,6 @@ index 964eaa2f6..acce5b1a3 100644
6356
check_ocamlopt_opt_output;
6457
+ run;
6558
+ check_program_output;
66-
+(*
67-
compare_native_programs;
68-
+*)
6959
] in
7060
{
7161
test_name = "native";
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,28 @@
11
diff --git a/ocamltest/ocaml_tests.ml b/ocamltest/ocaml_tests.ml
2-
index 964eaa2f67..166277466b 100644
2+
index 55eaea2fa..86431559c 100644
33
--- a/ocamltest/ocaml_tests.ml
44
+++ b/ocamltest/ocaml_tests.ml
5-
@@ -22,10 +22,12 @@ open Ocaml_actions
5+
@@ -22,9 +22,11 @@ open Ocaml_actions
66
let bytecode =
77
let opt_actions =
88
[
9-
+(*
9+
+ (*
1010
setup_ocamlc_opt_build_env;
1111
ocamlc_opt;
1212
check_ocamlc_opt_output;
13-
compare_bytecode_programs
14-
+*)
13+
+ *)
1514
] in
1615
{
1716
test_name = "bytecode";
18-
@@ -48,10 +50,12 @@ let native =
17+
@@ -47,9 +49,11 @@ let native =
1918
check_ocamlopt_byte_output;
2019
run;
2120
check_program_output;
22-
+(*
21+
+ (*
2322
setup_ocamlopt_opt_build_env;
2423
ocamlopt_opt;
2524
check_ocamlopt_opt_output;
26-
compare_native_programs;
27-
+*)
25+
+ *)
2826
] in
2927
{
3028
test_name = "native";

.github/workflows/testsuite_makefile.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
diff --git a/testsuite/Makefile b/testsuite/Makefile
2-
index 5abbc8356b..fa3c3805b1 100644
2+
index b27c66990..e9e6870dc 100644
33
--- a/testsuite/Makefile
44
+++ b/testsuite/Makefile
5-
@@ -173,7 +173,7 @@ list: lib tools
6-
@$(MAKE) report
5+
@@ -196,7 +196,7 @@ list: lib tools
6+
@$(MAKE) --no-print-directory one LIST="$(FILE)"
77

88
.PHONY: list-parallel
99
-list-parallel: lib tools

0 commit comments

Comments
 (0)