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 2253e74 commit 47bc640
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,31 @@ jobs:
pacman -S autoconf automake curl git make libtool gcc mingw-w64-x86_64-gcc
- name: Install libpostal
if: ${{ matrix.os != 'windows-latest' }}
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
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
./configure --datadir=/tmp/libpostal_datadir
make -j4
sudo make install
sudo ldconfig /usr/local/lib
- name: Install libpostal
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'macos-latest' }}
run: |
sudo ldconfig /usr/local/lib
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=/tmp/libpostal_datadir --disable-sse2
make -j4
sudo make install
- name: Install libpostal
if: ${{ matrix.os == 'windows-latest' }}
Expand All @@ -77,7 +86,7 @@ jobs:
cd libpostal
cp -rf windows/* ./
./bootstrap.sh
./configure --datadir=/libpostal_datadir
./configure --datadir=/tmp/libpostal_datadir
make -j4
make install
Expand Down

0 comments on commit 47bc640

Please sign in to comment.