Skip to content

Commit

Permalink
Added GitHub Actions for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
deevroman authored and mmd-osm committed Sep 10, 2024
1 parent e0f4ff1 commit 6627c3d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/macos_14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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}
- name: Running openstreetmap-cgimap
run: |
./build/openstreetmap-cgimap --help"

0 comments on commit 6627c3d

Please sign in to comment.