Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
stephtr committed Sep 19, 2024
1 parent 36c1d39 commit 4933a25
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/compile-libqalculate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Checkout 🛎
uses: actions/checkout@v4

- name: Setup cache
- name: Setup emsdk cache
id: cache-system-libraries
uses: actions/cache@v2
with:
Expand All @@ -36,6 +36,15 @@ jobs:
version: ${{env.EM_VERSION}}
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}

- name: Setup dependency cache
id: cache-dependencies
uses: actions/cache@v2
with:
path: |
~/opt/lib
~/opt/include
key: ${{env.LIBQALCULATE_VERSION}}-gmp${{env.GMP_VERSION}}-mpfr${{env.MPFR_VERSION}}-libxml2${{env.LIBXML2_VERSION}}-em${{env.EM_VERSION}}-${{ runner.os }}

- name: Setup dependencies
run: |
sudo apt install build-essential lzip binutils autoconf intltool libtool automake lbzip2 lzip
Expand All @@ -59,7 +68,7 @@ jobs:
make install
cd ..
wget http://xmlsoft.org/download/libxml2-${LIBXML2_VERSION}.tar.gz -O libxml2.tar.gz
wget http://xmlsoft.org/download/libxml2-${LIBXML2_VERSION}.tar.gz -O libxml2-${LIBXML2_VERSION}.tar.gz
tar xf libxml2-${LIBXML2_VERSION}.tar.gz
cd libxml2-${LIBXML2_VERSION}
emconfigure ./configure --prefix=${HOME}/opt --disable-shared
Expand Down

0 comments on commit 4933a25

Please sign in to comment.