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 613e31b commit 2253e74
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
pacman -S autoconf automake curl git make libtool gcc mingw-w64-x86_64-gcc
- name: Install libpostal
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os != 'windows-latest' }}
run: |
mkdir /tmp/libpostal_code
mkdir /tmp/libpostal_datadir
Expand All @@ -67,6 +67,20 @@ jobs:
run: |
sudo ldconfig /usr/local/lib
- name: Install libpostal
if: ${{ matrix.os == 'windows-latest' }}
run: |
mkdir /tmp/libpostal_code
mkdir /tmp/libpostal_datadir
cd /tmp/libpostal_code
git clone https://github.com/openvenues/libpostal
cd libpostal
cp -rf windows/* ./
./bootstrap.sh
./configure --datadir=/libpostal_datadir
make -j4
make install
- name: CLI tests
run: |
go mod tidy
Expand Down

0 comments on commit 2253e74

Please sign in to comment.