-
-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Fedora 41 as a supported platform
- Loading branch information
1 parent
b8dde98
commit af9eca1
Showing
8 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
.ci-dockerfiles/x64-64-unknown-linux-fedora41-builder/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
15 changes: 15 additions & 0 deletions
15
.ci-dockerfiles/x64-64-unknown-linux-fedora41-builder/build-and-push.bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters