diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5cd4e85a..6cdf1136 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -158,6 +158,7 @@ jobs: run: | opam exec -- cmake . -DBUILD_STATIC_LIB=ON -DBUILD_TESTS=off -DINSTALL_LIBS=off -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc make -j 4 + rm -r src - name: Cache binaryen if: steps.cache-binaryen.outputs.cache-hit != 'true' @@ -170,24 +171,11 @@ jobs: shell: bash run: echo "$GITHUB_WORKSPACE/binaryen/bin" >> $GITHUB_PATH - - name: Set binaryen's path (windows) + - name: Copy binaryen's tools (Windows) if: matrix.os == 'windows-latest' shell: bash run: cp $GITHUB_WORKSPACE/binaryen/bin/wasm-{merge,opt}.exe _opam/bin - - name: Binaryen DEBUG - shell: bash - run: echo $PATH - - - name: Binaryen DEBUG - if: matrix.os == 'windows-latest' - shell: bash - run: ls -l /cygdrive/d/a/wasm_of_ocaml/wasm_of_ocaml/binaryen/bin - - - name: Binaryen DEBUG - shell: bash - run: which wasm-merge - - name: Install faked binaryen-bin package # It's faster to use a cached version run: opam install --fake binaryen-bin