Add alpine based Dockerfile #14
Workflow file for this run
This file contains 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: Build on macOS 14 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
brew install boost cryptopp fmt fcgi yajl libmemcached libpqxx postgresql | |
- name: build | |
run: | | |
mkdir build && cd build && \ | |
CXXFLAGS="-Wall -Wextra -Wpedantic -Wno-unused-parameter" cmake .. -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release && \ | |
make -j${nproc} && \ | |
ctest --output-on-failure -E "db" | |
- name: Running openstreetmap-cgimap | |
run: | | |
./build/openstreetmap-cgimap --help |