File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,14 @@ jobs:
3737 git clone https://github.com/openvenues/libpostal.git /tmp/libpostal
3838 cd /tmp/libpostal
3939 ./bootstrap.sh
40- ./configure --datadir=/usr/ local/share/libpostal
40+ ./configure --prefix="$HOME/.local" -- datadir="$HOME/. local/share/libpostal"
4141 make
42- sudo make install
43- sudo ldconfig
42+ make install
43+ # Export paths so subsequent steps can find libpostal
44+ echo "LIBPOSTAL_DATA_DIR=$HOME/.local/share/libpostal" >> "$GITHUB_ENV"
45+ echo "LD_LIBRARY_PATH=$HOME/.local/lib:${LD_LIBRARY_PATH:-}" >> "$GITHUB_ENV"
46+ echo "PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:${PKG_CONFIG_PATH:-}" >> "$GITHUB_ENV"
47+ echo "CPATH=$HOME/.local/include:${CPATH:-}" >> "$GITHUB_ENV"
4448
4549 - name : Install dependencies
4650 run : uv sync --group dev --all-extras
You can’t perform that action at this time.
0 commit comments