Spine correctness, hardening and poll_host decomposition #71
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rocky Linux compatibility | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "37 3 * * 6" | |
| pull_request: | |
| branches: [develop] | |
| paths: | |
| - "configure.ac" | |
| - "Makefile.am" | |
| - "**.c" | |
| - "**.h" | |
| - ".github/workflows/rocky-linux.yml" | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: rocky-linux-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| rocky-linux: | |
| name: Rocky Linux 9 build and tests | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Build and test in Rocky Linux 9 | |
| run: | | |
| set -euo pipefail | |
| docker run --rm \ | |
| --volume "$GITHUB_WORKSPACE:/src:ro" \ | |
| --workdir /workspace \ | |
| rockylinux:9@sha256:d7be1c094cc5845ee815d4632fe377514ee6ebcf8efaed6892889657e5ddaaa6 \ | |
| bash -euo pipefail -c ' | |
| cp -a /src/. /workspace/ | |
| dnf -y group install "Development Tools" | |
| dnf -y install autoconf automake libtool mariadb-connector-c-devel net-snmp-devel openssl-devel libxml2-devel libcurl-devel zlib-devel | |
| autoreconf -fi | |
| ./configure --enable-warnings | |
| make --jobs "$(nproc)" | |
| make check | |
| ' |