Skip to content

Nightly builds with OVAL 5.11 #455

Nightly builds with OVAL 5.11

Nightly builds with OVAL 5.11 #455

Workflow file for this run

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-pyyaml python3-jinja2 python3-pytest ansible-lint libxslt ansible
- name: Checkout
uses: actions/checkout@v3
- 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@v2
with:
name: Nightly Build
path: |
build/zipfile/scap-security-guide-*.zip
build/zipfile/scap-security-guide-*.zip.sha512