From d81488763444962e1405102ad430db68f1f91832 Mon Sep 17 00:00:00 2001 From: bartjuw Date: Tue, 7 Nov 2023 13:41:25 -0800 Subject: [PATCH] Update build-libantimonyjs-github-actions.yml --- .../build-libantimonyjs-github-actions.yml | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-libantimonyjs-github-actions.yml b/.github/workflows/build-libantimonyjs-github-actions.yml index b5feb6f..254f90d 100644 --- a/.github/workflows/build-libantimonyjs-github-actions.yml +++ b/.github/workflows/build-libantimonyjs-github-actions.yml @@ -40,10 +40,22 @@ jobs: - run: echo $EMSDK - run: echo $EMSDK_NODE - run: echo $LIBANTIMONY_JS - - run: chmod +x scripts/buildLibAntjs - - name: Run libantimony build script - run: scripts/buildLibAntjs - + - run: mkdir install + - run: wget https://github.com/libexpat/libexpat/releases/download/R_2_2_10/expat-2.2.10.tar.bz2 + - run: tar -xf expat-2.2.10.tar.bz2 + - run: mv expat-2.2.10 expat + - name: make expat build dir + run: mkdir build + working-directory: expat + - name: build expat lib + run: emcmake cmake .. -DCMAKE_INSTALL_PREFIX=$LIBANTIMONYJS_DIR/install/expat + working-directory: expat/build + - name: make expat lib + run: emmake make + working-directory: expat/build + - name: install expat lib + run: emmake make install + working-directory: expat/build