Remove old TIGER/Line address lookup code. (#305) #122
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Builds | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| workflow_dispatch: | |
| jobs: | |
| basic-ubuntu-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Update Packages | |
| run: sudo apt-get update | |
| - name: Install Packages | |
| run: sudo apt-get install -y graphicsmagick libgraphicsmagick1-dev libmotif-dev libcurl4-openssl-dev libpcre3-dev libdb-dev shapelib libshp-dev libxpm-dev | |
| - name: Bootstrap | |
| run: ./bootstrap.sh | |
| - name: configure | |
| run: ./configure CPPFLAGS="-I/usr/include/geotiff" | |
| - name: make | |
| run: make | |
| - name: make install | |
| run: sudo make install | |
| full-ubuntu-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Update Packages | |
| run: sudo apt-get update | |
| - name: Install Packages | |
| run: sudo apt-get install -y graphicsmagick libgraphicsmagick1-dev libmotif-dev libcurl4-openssl-dev libpcre3-dev libdb-dev shapelib libshp-dev libxpm-dev libproj-dev festival festival-dev libgeotiff-dev gpsman gpsmanshp libcjson1 libcjson-dev | |
| - name: Bootstrap (with autoreconf) | |
| run: autoreconf -i | |
| - name: configure | |
| run: ./configure CPPFLAGS="-I/usr/include/geotiff" | |
| - name: make | |
| run: make | |
| - name: make check | |
| run: make check | |
| - name: make install | |
| run: sudo make install | |
| macos-build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install XQuartz | |
| run: brew install xquartz --cask | |
| - name: Install Packages | |
| run: brew install autoconf automake libtool berkeley-db graphicsmagick libgeotiff openmotif pcre proj shapelib cjson | |
| - name: Bootstrap | |
| run: ./bootstrap.sh | |
| - name: configure | |
| run: ./configure CPPFLAGS="-I/usr/include/geotiff -I/opt/homebrew/include -I/opt/homebrew/opt/berkeley-db/include" "LDFLAGS=-L/opt/homebrew/lib -L/opt/homebrew/opt/berkeley-db/lib" | |
| - name: make | |
| run: make | |
| - name: make check | |
| run: make check | |
| - name: make install | |
| run: sudo make install | |
| freebsd-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set-up VM | |
| uses: vmactions/freebsd-vm@v1 | |
| with: | |
| sync: nfs | |
| usesh: true | |
| prepare: | | |
| pkg install -y devel/autoconf devel/automake print/freetype2 graphics/jasper graphics/jbigkit graphics/lcms2 graphics/png devel/shapelib graphics/tiff graphics/webp graphics/libwmf devel/pcre2 graphics/libjxl graphics/libjxl graphics/GraphicsMagick graphics/libgeotiff ftp/curl databases/db18 lang/gcc13 x11-toolkits/open-motif audio/festival devel/libcjson | |
| - name: Bootstrap | |
| shell: freebsd {0} | |
| run: | | |
| cd $GITHUB_WORKSPACE | |
| autoreconf -i | |
| - name: configure out-of-source | |
| shell: freebsd {0} | |
| run: | | |
| cd $GITHUB_WORKSPACE | |
| cd .. | |
| mkdir build | |
| cd build | |
| ../Xastir/configure --with-bdb-incdir=/usr/local/include/db18 --with-bdb-libdir=/usr/local/lib CFLAGS="-O2 -g" CC=gcc13 CXX=g++13 | |
| - name: make | |
| shell: freebsd {0} | |
| run: | | |
| cd $GITHUB_WORKSPACE/../build | |
| make | |
| - name: make check | |
| shell: freebsd {0} | |
| run: | | |
| cd $GITHUB_WORKSPACE/../build | |
| make check |