Skip to content

Commit

Permalink
Add Fedora 41 as a supported platform
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen committed Dec 2, 2024
1 parent b8dde98 commit af9eca1
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .ci-dockerfiles/x64-64-unknown-linux-fedora41-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM fedora:41

RUN dnf install -y binutils-gold \
clang \
cmake \
diffutils \
git \
make \
zlib \
curl \
python3-pip \
lldb \
libstdc++-static \
&& dnf -y autoremove \
&& dnf -y clean all \
&& rm -rf /var/cache/dnf/* \
&& pip3 install cloudsmith-cli

# needed for GitHub actions
RUN git config --global --add safe.directory /__w/ponyc/ponyc

# add user pony in order to not run tests as root
RUN useradd -u 1001 -ms /bin/bash -d /home/pony -g root pony
USER pony
WORKDIR /home/pony
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

set -o errexit
set -o nounset

#
# *** You should already be logged in to GHCR when you run this ***
#

NAME="ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-fedora41-builder"
TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"

docker build --pull -t "${NAME}:${TODAY}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TODAY}"
4 changes: 4 additions & 0 deletions .github/workflows/nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
name: x86-64-unknown-linux-fedora39
triple-os: linux-fedora39
triple-vendor: unknown
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-fedora41-builder:20241201
name: x86-64-unknown-linux-fedora41
triple-os: linux-fedora41
triple-vendor: unknown

name: ${{ matrix.name }}
container:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
name: x86-64-unknown-linux-fedora39
triple-os: linux-fedora39
triple-vendor: unknown
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-fedora41-builder:20241201
name: x86-64-unknown-linux-fedora41
triple-os: linux-fedora41
triple-vendor: unknown

name: ${{ matrix.name }}
container:
Expand Down
3 changes: 3 additions & 0 deletions .release-notes/fedora41.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Add Fedora 41 as a supported platform

We've added Fedora 41 as a supported platform. We'll be building ponyc releases for it until it stops receiving security updates in November 2025. At that point, we'll stop building releases for it.
1 change: 1 addition & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Distribution | Requires
Alpine 3.17+ | binutils-gold, clang, clang-dev, cmake, make
CentOS 8 | clang, cmake, diffutils, libatomic, libstdc++-static, make, zlib-devel
Fedora | clang, cmake, libatomic, libstdc++-static, make
Fedora 41 | binutils-gold, clang, cmake, libatomic, libstdc++-static, make
OpenSuse Leap | binutils-gold, cmake
Raspbian 32-bit | cmake
Raspbian 64-bit | cmake, clang
Expand Down
3 changes: 2 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ At the moment, we support all supported LTS Ubuntu versions and any distribution

Currently, we have packages for the following Glibc based distributions:

- Fedora 39
- Fedora 39, 41
- Linux Mint 19, 20, 21
- Pop!_OS 20.04, 22.04, 24.04
- Ubuntu 20.04, 22.04, 24.04
Expand All @@ -43,6 +43,7 @@ Distribution | PLATFORM String
--- | ---
Alpine | x86_64-linux-musl
Fedora 39 | x86_64-linux-fedora39
Fedora 41 | x86_64-linux-fedora41
Linux Mint 20.x | x86_64-linux-ubuntu20.04
Linux Mint 21.x | x86_64-linux-ubuntu22.04
Pop!_OS 20.04 | x86_64-linux-ubuntu20.04
Expand Down
1 change: 1 addition & 0 deletions RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Package names will be:
* ponyc-x86-64-apple-darwin.tar.gz
* ponyc-x86-64-pc-windows-msvc.zip
* ponyc-x86-64-unknown-linux-fedora39.tar.gz
* ponyc-x86-64-unknown-linux-fedora41.tar.gz
* ponyc-x86-64-unknown-linux-musl.tar.gz
* ponyc-x86-64-unknown-linux-ubuntu20.04.tar.gz
* ponyc-x86-64-unknown-linux-ubuntu22.04.tar.gz
Expand Down

0 comments on commit af9eca1

Please sign in to comment.