From ba20a3ad40090a87b4c2917dc213de4c5d17845c Mon Sep 17 00:00:00 2001 From: Tushar Bana <153725830+tusharbana-ansys@users.noreply.github.com> Date: Mon, 18 Nov 2024 22:19:05 +0530 Subject: [PATCH] fedora build fix, revert to fedora:40 (#390) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> --- .github/workflows/ci_cd.yml | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 9b6ef85..0b10f12 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -237,9 +237,7 @@ jobs: build-application-linux-non-debian: strategy: matrix: - # TODO: reactivate... - # os: ["quay.io/centos/centos:stream9", "fedora:latest"] - os: ["quay.io/centos/centos:stream9"] + os: ["quay.io/centos/centos:stream9", "fedora:40"] fail-fast: false name: "Build Application Linux - ${{ matrix.os }}" runs-on: ubuntu-latest @@ -251,11 +249,21 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install CentOS/Fedora Dependencies - if: contains(matrix.os, 'centos') || contains(matrix.os, 'fedora') + - name: Update and Install development tools - Fedora + if: contains(matrix.os, 'fedora') + run: | + yum update -y + yum group install development-tools -y + + - name: Update and Install development tools - Centos + if: contains(matrix.os, 'centos') run: | yum update -y yum groupinstall "Development Tools" -y + + - name: Install CentOS/Fedora Dependencies + if: contains(matrix.os, 'centos') || contains(matrix.os, 'fedora') + run: | yum install python3 \ python3-pip \ wget \ @@ -461,11 +469,10 @@ jobs: name: Python-Installer-centos_stream9 path: installer - # TODO: reactivate... - # - uses: actions/download-artifact@v4 - # with: - # name: Python-Installer-fedora_latest - # path: installer + - uses: actions/download-artifact@v4 + with: + name: Python-Installer-fedora_latest + path: installer - name: Display structure of downloaded files run: ls -R