diff --git a/.github/workflows/automatus-ubuntu2204.yaml b/.github/workflows/automatus-ubuntu2204.yaml index 2ed2f551e62e..a85cec97df81 100644 --- a/.github/workflows/automatus-ubuntu2204.yaml +++ b/.github/workflows/automatus-ubuntu2204.yaml @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Install Deps - run: sudo apt update && sudo apt install -y cmake ninja-build libopenscap8 libxml2-utils xsltproc python3-jinja2 python3-yaml ansible-lint podman + run: sudo apt update && sudo apt install -y cmake ninja-build libxml2-utils xsltproc python3-jinja2 python3-yaml ansible-lint podman wget libdbus-1-dev libdbus-glib-1-dev libcurl4-openssl-dev libgcrypt20-dev libselinux1-dev libxslt1-dev libgconf2-dev libacl1-dev libblkid-dev libcap-dev libxml2-dev libldap2-dev libpcre3-dev python3 swig libxml-parser-perl libxml-xpath-perl libperl-dev libbz2-dev librpm-dev g++ libyaml-dev libxmlsec1-dev libxmlsec1-openssl - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Get cached CTF output @@ -78,6 +78,15 @@ jobs: # continue even if the file is unavailable that # means there are no changes detected by CTF in the previous job continue-on-error: true + - name: Download OpenSCAP + run: wget https://github.com/OpenSCAP/openscap/releases/download/1.3.10/openscap-1.3.10.tar.gz + - name: Extract OpenSCAP + run: tar xf openscap-1.3.10.tar.gz + - name: Build OpenSCAP + run: | + cd openscap-1.3.10 + cmake -Bbuild -DCMAKE_INSTALL_PREFIX=/usr . + sudo cmake --build build --target install - name: Test if there are no content changes if: ${{ steps.get_ctf_output.outcome == 'success' }} run: echo "CTF_OUTPUT_SIZE=$(stat --printf="%s" output.json)" >> $GITHUB_OUTPUT