Skip to content

Commit

Permalink
fix failing autogen
Browse files Browse the repository at this point in the history
  • Loading branch information
stephtr committed Sep 19, 2024
1 parent 25fddcb commit 1daa2ef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/compile-libqalculate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Setup dependencies
run: |
sudo apt install build-essential lzip binutils autoconf intltool libtool automake lbzip2 lzip
sudo apt install -y build-essential lzip binutils autoconf intltool libtool automake lbzip2 lzip
mkdir -p ~/opt/src
cd ~/opt/src
Expand Down Expand Up @@ -81,7 +81,9 @@ jobs:
tar xf libqalculate-${LIBQALCULATE_VERSION}.tar.gz
cd libqalculate-${LIBQALCULATE_VERSION}
# the following command is supposed to fail, since it's also running the configure script
./autogen.sh || true
set +e
./autogen.sh
set -e
sed -i 's/PKG_CHECK_MODULES(LIBCURL, libcurl)/#PKG_CHECK_MODULES(LIBCURL, libcurl)/' configure
sed -i 's/PKG_CHECK_MODULES(ICU, icu-uc)/#PKG_CHECK_MODULES(ICU, icu-uc)/' configure
sed -i 's/PKG_CHECK_MODULES(LIBXML, libxml-2.0/#PKG_CHECK_MODULES(LIBXML, libxml-2.0/' configure
Expand Down

0 comments on commit 1daa2ef

Please sign in to comment.