]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - .github/workflows/ci-macos.yml
Add a workflow that checks for and corrects typos.
[user/henk/code/inspircd.git] / .github / workflows / ci-macos.yml
1 name: macOS CI
2 on:
3   - pull_request
4   - push
5 jobs:
6   build:
7     runs-on: macos-latest
8     env:
9       CXXFLAGS: -std=${{ matrix.standard }} -I/usr/local/opt/openssl@1.1/include -Wno-error=deprecated-declarations
10       LDFLAGS: -L/usr/local/opt/openssl@1.1/lib
11       PKG_CONFIG_PATH: /usr/local/opt/openssl@1.1/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig
12       TEST_BUILD_MODULES: geo_maxmind ldap mysql pgsql regex_pcre regex_posix regex_re2 regex_stdlib regex_tre sqlite3 ssl_gnutls ssl_mbedtls ssl_openssl sslrehashsignal
13     steps:
14       - uses: actions/checkout@v2
15       - name: Install dependencies
16         run: |
17           brew update
18           brew upgrade
19           brew install pkg-config gnutls libmaxminddb libpq mbedtls mysql-client openssl@1.1 pcre re2 sqlite tre
20           brew link --force --overwrite libpq
21           brew link --force --overwrite mysql-client
22       - name: Run test-build
23         run: ./tools/test-build c++
24     strategy:
25       matrix:
26         standard:
27           - gnu++98
28           - c++14