From 277a433ea2317fc1ebb56e7bb94928b7396a04db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Vouillon?= Date: Tue, 3 Dec 2024 21:19:18 +0100 Subject: [PATCH] WIP --- .github/workflows/build.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) 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