From 17388c08c0ae1dbbe3af46461074e115d948d2c4 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 1 Jul 2024 18:08:47 +0200 Subject: [PATCH] .github/workflows/ci.yml: fix build failures. - pin SWIG version; - appease git in Emscripten docker image; --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 327a9839..5c0b0072 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -218,7 +218,7 @@ jobs: node_js=bindings/node.js if [ -x $node_js/run.me ]; then if [ ! -x ~/swig/bin/swig ]; then - ( git clone https://github.com/swig/swig; + ( git clone --branch v4.2.1 https://github.com/swig/swig; cd swig; ./autogen.sh; ./configure --prefix=$HOME/swig; @@ -264,7 +264,7 @@ jobs: registry: https://index.docker.io/v1/ image: emscripten/emsdk options: --volume ${{ github.workspace }}:/blst --network=none - run: git clone -q /blst /tmp/blst && /tmp/blst/bindings/emscripten/run.me -O2 + run: git config --global safe.directory \* && git clone -q /blst /tmp/blst && /tmp/blst/bindings/emscripten/run.me -O2 - name: C# run: |