Skip to content

Commit

Permalink
switch to pkgconf for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vasi committed Nov 22, 2024
1 parent 4289904 commit d5cac5f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: apt dependencies
run: >
sudo apt-get update &&
sudo apt-get install -y automake autoconf libtool pkg-config
sudo apt-get install -y automake autoconf libtool pkgconf
zlib1g-dev liblzo2-dev liblzma-dev liblz4-dev libzstd-dev
fio
if: runner.os == 'Linux'
Expand All @@ -46,8 +46,12 @@ jobs:
env:
HOMEBREW_NO_AUTO_UPDATE: 1
run: |
brew install autoconf automake libtool pkgconfig squashfs coreutils
brew list
brew remove pkgconfig
brew install autoconf automake libtool pkgconf squashfs coreutils
brew install --cask macfuse
brew list pkgconf
ls -l /opt/homebrew/bin/pkg*
if: runner.os == 'macOS'
- name: configure
run: |
Expand Down
8 changes: 5 additions & 3 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ if libtoolize --version > /dev/null 2>&1; then : ; else
fi
fi

if pkg-config --version > /dev/null 2>&1; then : ; else
echo "Missing pkg-config"
exit 1
if pkgconf --version > /dev/null 2>&1; then : ; else
if pkg-config --version > /dev/null 2>&1; then : ; else
echo "Missing pkg-config"
exit 1
fi
fi

exec autoreconf -i

0 comments on commit d5cac5f

Please sign in to comment.