Skip to content

Commit

Permalink
install lib postal
Browse files Browse the repository at this point in the history
  • Loading branch information
le0pard committed Jul 5, 2024
1 parent ef7950b commit 550efab
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,28 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}

- name: Install build packages
run: |
apt-get update -qq && apt-get install -yq --no-install-recommends \
build-essential \
curl \
autoconf \
automake \
libtool \
pkg-config
- name: Install libpostal
run: |
mkdir /libpostal_code
mkdir /libpostal_datadir
cd /libpostal_code
mkdir /tmp/libpostal_code
mkdir /tmp/libpostal_datadir
cd /tmp/libpostal_code
git clone https://github.com/openvenues/libpostal
cd libpostal
./bootstrap.sh
./configure --datadir=/libpostal_datadir
make -j4
make install
ldconfig /usr/local/lib
sudo make install
sudo ldconfig /usr/local/lib
- name: CLI tests
run: |
Expand Down

0 comments on commit 550efab

Please sign in to comment.