18
18
matrix :
19
19
# Stay on the oldest Ubuntu version that's still supported by Github Actions
20
20
# to avoid glibc incompatibilities as far as possible.
21
- os : [macos-latest, ubuntu-20.04, windows-latest, macos-arm ]
21
+ os : [windows-latest]
22
22
ocaml_compiler : [4.14.0]
23
23
24
24
runs-on : ${{matrix.os}}
@@ -49,16 +49,23 @@ jobs:
49
49
- name : " Install OPAM dependencies"
50
50
run : opam install . --deps-only
51
51
52
- - name : " Build compiler"
53
- run : |
54
- opam exec -- dune build
55
- ./scripts/copyExes.js
56
-
57
52
- name : Use Node.js
58
53
uses : actions/setup-node@v3
59
54
with :
60
55
node-version : 16
61
56
57
+ - name : " Build compiler"
58
+ run : |
59
+ opam exec -- dune build
60
+ node ./scripts/copyExes.js
61
+
62
+ - name : Debug
63
+ shell : bash
64
+ run : |
65
+ ls -l
66
+ ls -l "_build/install/default/bin"
67
+ ls -l win32
68
+
62
69
- name : Install npm packages
63
70
run : npm ci --ignore-scripts
64
71
80
87
if : ${{ env.syntax_status == 'changed' && runner.os == 'Windows' }}
81
88
run : opam exec -- make test-syntax
82
89
90
+ - name : Debug
91
+ shell : bash
92
+ run : ls -l win32
93
+
83
94
# Required for ninja build
84
95
- name : " Windows: Use MSVC"
85
96
if : runner.os == 'Windows'
@@ -99,6 +110,10 @@ jobs:
99
110
- name : Check for changes in lib folder
100
111
run : git diff --exit-code lib/js lib/es6
101
112
113
+ - name : Debug
114
+ shell : bash
115
+ run : ls -l win32
116
+
102
117
- name : Run tests
103
118
if : runner.os != 'Windows'
104
119
run : opam exec -- dune exec -- node scripts/ciTest.js -all
@@ -107,11 +122,19 @@ jobs:
107
122
if : runner.os == 'Windows'
108
123
run : opam exec -- dune exec -- node scripts/ciTest.js -mocha -theme -format
109
124
125
+ - name : Debug
126
+ shell : bash
127
+ run : ls -l win32
128
+
110
129
- name : Prepare artifact upload
111
130
run : |
112
131
./scripts/prebuilt.js
113
132
node .github/workflows/get_artifact_info.js
114
133
134
+ - name : Debug
135
+ shell : bash
136
+ run : ls -l win32
137
+
115
138
- name : " Upload artifacts: binaries"
116
139
uses : actions/upload-artifact@v3
117
140
with :
0 commit comments