From 6627c3de01f55608354e0ecd28b58bc32faa13c5 Mon Sep 17 00:00:00 2001 From: Roman Deev Date: Sun, 8 Sep 2024 20:36:05 +0300 Subject: [PATCH] Added GitHub Actions for macOS --- .github/workflows/macos_14.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/macos_14.yml diff --git a/.github/workflows/macos_14.yml b/.github/workflows/macos_14.yml new file mode 100644 index 00000000..87f82c78 --- /dev/null +++ b/.github/workflows/macos_14.yml @@ -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"