Skip to content

Commit

Permalink
Merge pull request #312 from rhusar/containerfile
Browse files Browse the repository at this point in the history
CI: Standardize on 'Containerfile' naming and Upgrade to Fedora 41
  • Loading branch information
rhusar authored Jan 10, 2025
2 parents ffc8aac + a107bb5 commit 9924833
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
jobs:

cmake-fedora-latest:
name: cmake-fedora-latest
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -30,17 +31,15 @@ jobs:
- name: Create container and build
run: |
{
echo 'FROM fedora:40'
echo 'RUN dnf install cmake httpd-devel ${{ matrix.compiler }} -y'
echo 'RUN dnf groupinstall "C Development Tools and Libraries" -y'
echo 'FROM fedora:41'
echo 'RUN dnf install --assumeyes @c-development cmake httpd-devel ${{ matrix.compiler }}'
echo 'RUN dnf clean all'
echo 'COPY mod_proxy_cluster mod_proxy_cluster'
echo 'WORKDIR /mod_proxy_cluster/native'
echo 'RUN cmake . -DCMAKE_C_COMPILER=${{ matrix.compiler }}'
echo 'RUN make'
} > podmanfile
podman build -f ./podmanfile
name: cmake-fedora-latest
} > Containerfile
podman build .
make-fedora-latest:
runs-on: ubuntu-latest
Expand All @@ -56,9 +55,8 @@ jobs:
- name: Create container and build
run: |
{
echo 'FROM fedora:40'
echo 'RUN dnf install httpd-devel redhat-rpm-config -y'
echo 'RUN dnf groupinstall "C Development Tools and Libraries" -y'
echo 'FROM fedora:41'
echo 'RUN dnf install --assumeyes @c-development httpd-devel redhat-rpm-config'
echo 'RUN dnf clean all'
echo 'COPY mod_proxy_cluster mod_proxy_cluster'
echo 'WORKDIR /mod_proxy_cluster/native'
Expand All @@ -73,8 +71,8 @@ jobs:
echo ' make || exit 1; \'
echo ' cd ..; \'
echo 'done;'
} > podmanfile
podman build -f ./podmanfile
} > Containerfile
podman build .
clang-format-style-check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9924833

Please sign in to comment.