Skip to content

Commit

Permalink
Merge pull request modcluster#866 from rhusar/1.3.x-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 9, 2025
2 parents 59ea079 + de4831f commit 8d2d67a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,18 @@ jobs:
run: |
sudo apt update
sudo apt-get -y install podman
podman pull fedora:39
- 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
} > Containerfile
podman build .
name: cmake-fedora-latest

make-fedora-latest:
Expand All @@ -72,13 +70,11 @@ jobs:
run: |
sudo apt update
sudo apt-get -y install podman
podman pull fedora:39
- 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 @@ -93,8 +89,8 @@ jobs:
echo ' make || exit 1; \'
echo ' cd ..; \'
echo 'done;'
} > podmanfile
podman build -f ./podmanfile
} > Containerfile
podman build .
make-with-httpd-trunk:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8d2d67a

Please sign in to comment.