]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - .github/workflows/ci-macos.yml
Disable fail-fast in GitHub Actions.
[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: argon2 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 || true
18           for PACKAGE in pkg-config argon2 gnutls libmaxminddb libpq mbedtls mysql-client openssl@1.1 pcre re2 sqlite tre;
19           do
20             brew install $PACKAGE || brew upgrade $PACKAGE
21           done
22           brew link --force --overwrite libpq
23           brew link --force --overwrite mysql-client
24       - name: Run test-build
25         run: ./tools/test-build c++
26     strategy:
27       fail-fast: false
28       matrix:
29         standard:
30           - gnu++98
31           - c++14