From 2f6e8669c719e0f24f69340d3f94b228ded14070 Mon Sep 17 00:00:00 2001 From: Cheng Lou <chenglou92@gmail.com> Date: Tue, 27 Apr 2021 03:49:19 -0700 Subject: [PATCH 1/3] Test windows --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6aa9230a4..cc031d868 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: artifact-folder: linux - os: windows-latest # CI windows running the binary somehow stucks. Not sure why. Disable for now. - build: "cd analysis && & $env:CYGWIN_ROOT\\bin\\ocaml-env exec -- make" + build: "ls ./node_modules/.bin/ && cat ./node_modules/.bin/reanalyze && cd analysis && & $env:CYGWIN_ROOT\\bin\\ocaml-env exec -- make" artifact-folder: win32 runs-on: ${{matrix.os}} From 0402de85524ea00e45ef663dc28b3dfd14b477d8 Mon Sep 17 00:00:00 2001 From: Cheng Lou <chenglou92@gmail.com> Date: Tue, 27 Apr 2021 04:16:03 -0700 Subject: [PATCH 2/3] check ps1 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc031d868..4f9bcfafe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: artifact-folder: linux - os: windows-latest # CI windows running the binary somehow stucks. Not sure why. Disable for now. - build: "ls ./node_modules/.bin/ && cat ./node_modules/.bin/reanalyze && cd analysis && & $env:CYGWIN_ROOT\\bin\\ocaml-env exec -- make" + build: "ls ./node_modules/.bin/ && cat ./node_modules/.bin/reanalyze.ps1 && cd analysis && & $env:CYGWIN_ROOT\\bin\\ocaml-env exec -- make" artifact-folder: win32 runs-on: ${{matrix.os}} From 03b6f61a95332e019fe429271571a5e3087b86d8 Mon Sep 17 00:00:00 2001 From: Cheng Lou <chenglou92@gmail.com> Date: Tue, 27 Apr 2021 04:26:44 -0700 Subject: [PATCH 3/3] Read link --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f9bcfafe..3479fdcbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: artifact-folder: linux - os: windows-latest # CI windows running the binary somehow stucks. Not sure why. Disable for now. - build: "ls ./node_modules/.bin/ && cat ./node_modules/.bin/reanalyze.ps1 && cd analysis && & $env:CYGWIN_ROOT\\bin\\ocaml-env exec -- make" + build: "readlink ./node_modules/.bin/reanalyze.ps1 && cd analysis && & $env:CYGWIN_ROOT\\bin\\ocaml-env exec -- make" artifact-folder: win32 runs-on: ${{matrix.os}}