/
githubmirror
/
gnutls
Обзор
Документация
Войти
/
githubmirror
/
gnutls
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/macos.yml
43 строки
2 KB
Daiki Ueno
.github/workflows: use macos-latest runner
30 июл 2024, 10:09
30 июл 2024, 10:09
a641d46
Код
Авторство
О чём код?
name: MacOS CI on: push: jobs: build: runs-on: macos-latest steps: - uses: actions/checkout@v4 with: submodules: false - name: install dependencies run: | brew update for pkg in openssl autoconf automake coreutils libtool gmp nettle p11-kit libtasn1 libunistring gettext bison gtk-doc; do brew install $pkg || true done for pkg in nettle wget p11-kit libtasn1 libunistring; do brew upgrade $pkg || true done - name: update path run: | echo /usr/local/opt/gettext/bin >>${GITHUB_PATH} echo /opt/homebrew/opt/bison/bin >>${GITHUB_PATH} - name: bootstrap run: ./bootstrap - name: configure run: | CFLAGS="-I$(brew --prefix libunistring)/include" LDFLAGS="-L$(brew --prefix libunistring)/lib" GMP_CFLAGS=$(pkg-config --cflags gmp) GMP_LIBS=$(pkg-config --libs gmp) CC=clang ./configure --disable-full-test-suite --disable-valgrind-tests --disable-doc --disable-dependency-tracking - name: make run: | make -j$(sysctl -n hw.ncpu) || make -j$(sysctl -n hw.ncpu) V=1 - name: make check run: | make -j$(sysctl -n hw.ncpu) check gl_public_submodule_commit= TIMEOUT=gtimeout - name: show debug info if: failure() run: | find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo {} \; -exec cat {} \; for i in $(ls tests/*.log tests/cert-tests/*.log fuzz/*.log); do echo "" && echo $i && cat $i done cat config.log