Nightly builds with OVAL 5.11 #304
This file contains 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: Nightly builds with OVAL 5.11 | |
on: | |
schedule: | |
# Run daily at 03:00 | |
- cron: "0 3 * * *" | |
jobs: | |
nightly-fedora: | |
name: Nightly build on Fedora Latest (Container) | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:latest | |
steps: | |
- name: Install Dependencies | |
run: dnf install -y cmake ninja-build openscap-utils python3-pip python3-devel gcc-c++ ansible-lint libxslt ansible python3-setuptools | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Install python deps | |
run: pip install -r requirements-base.txt -r test-requirements.txt | |
- name: Configure | |
run: cmake -G Ninja .. | |
working-directory: ./build | |
- name: Build All | |
run: ninja -j2 all | |
working-directory: ./build | |
- name: Build ZIP | |
run: ninja -j2 zipfile | |
working-directory: ./build | |
- name: Test | |
run: ctest -j2 --output-on-failure -E linkchecker | |
working-directory: ./build | |
- name: Build Package Source | |
run: ninja -j2 package_source | |
working-directory: ./build | |
- name: 'Upload Artifact' | |
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 | |
with: | |
name: Nightly Build | |
path: | | |
build/zipfile/scap-security-guide-*.zip | |
build/zipfile/scap-security-guide-*.zip.sha512 |