/
githubmirror
/
audit-userspace
Обзор
Документация
Войти
/
githubmirror
/
audit-userspace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/ci.yml
65 строк
2 KB
Sergio Correia
ci: enable TLS in the CI build matrix
15 июл 2026, 20:55
15 июл 2026, 20:55
d9ca4bd
Код
Авторство
О чём код?
name: CI Matrix on: push: branches: [master] pull_request: branches: [master] jobs: build-and-test: runs-on: ubuntu-latest container: ${{ matrix.container }} strategy: fail-fast: false matrix: container: ["ubuntu:latest", "fedora:latest"] compiler: [gcc, clang] steps: - name: Checkout code uses: actions/checkout@v4 - name: Install dependencies (Ubuntu) if: matrix.container == 'ubuntu:latest' run: | apt-get update apt-get install -y \ gawk diffutils autoconf automake libtool \ ${{ matrix.compiler }} \ linux-headers-generic \ build-essential \ libkrb5-dev \ libcap-ng-dev \ python3-dev swig \ libldap-dev \ libssl-dev - name: Install dependencies (Fedora) if: matrix.container == 'fedora:latest' run: | dnf install -y \ gawk diffutils autoconf automake libtool gdm \ ${{ matrix.compiler }} \ kernel-headers \ krb5-devel \ libcap-ng-devel \ python3-devel python-unversioned-command swig \ openldap-devel \ openssl-devel - name: Set compiler run: | echo "CC=${{ matrix.compiler }}" >> $GITHUB_ENV - name: Build run: | autoreconf -f --install ./configure --with-python3=yes --enable-gssapi-krb5=yes \ --with-arm --with-aarch64 --with-libcap-ng=yes \ --without-golang --enable-zos-remote \ --enable-experimental --with-io_uring --enable-tls make -j$(nproc) - name: Run tests run: make check