]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - .github/workflows/ci-macos.yml
c706b754215b3e464e302d7ef2aa03c2e08e5eec
[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
12       TEST_BUILD_MODULES: m_geo_maxmind.cpp,m_ldap.cpp,m_mysql.cpp,m_pgsql.cpp,m_regex_pcre.cpp,m_regex_posix.cpp,m_regex_re2.cpp,m_regex_stdlib.cpp,m_regex_tre.cpp,m_sqlite3.cpp,m_ssl_gnutls.cpp,m_ssl_mbedtls.cpp,m_ssl_openssl.cpp,m_sslrehashsignal.cpp
13     steps:
14       - uses: actions/checkout@v2
15       - name: Install dependencies
16         run: |
17           brew update
18           brew install pkg-config gnutls libmaxminddb libpq mbedtls mysql-client openssl@1.1 pcre re2 sqlite3 tre
19           brew link --force libpq
20           brew link --force mysql-client
21       - name: Run test-build
22         run: ./tools/test-build c++
23     strategy:
24       matrix:
25         standard:
26           - gnu++98
27           - c++14