Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Fedora 39 #289

Merged
merged 2 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .ci-dockerfiles/fedora39-bootstrap-tester/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM fedora:39

RUN dnf install -y clang \
git \
lsb-release \
openssl-devel \
&& dnf -y autoremove \
&& dnf -y clean all \
&& rm -rf /var/cache/dnf*

RUN git config --global --add safe.directory /__w/ponyup/ponyup
15 changes: 15 additions & 0 deletions .ci-dockerfiles/fedora39-bootstrap-tester/build-and-push.bash
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 ***
#

TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"
DOCKER_TAG="ghcr.io/ponylang/ponyup-ci-fedora39-bootstrap-tester:${TODAY}"

docker build --pull -t "${DOCKER_TAG}" "${DOCKERFILE_DIR}"
docker push "${DOCKER_TAG}"
10 changes: 10 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ jobs:
- name: Bootstrap test
run: SSL=0.9.0 .ci-scripts/test-bootstrap.sh

fedora39-bootstrap:
name: Test bootstrapping on Fedora 39
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/ponyup-ci-fedora39-bootstrap-tester:20240130
steps:
- uses: actions/checkout@v3
- name: Bootstrap test
run: SSL=3.0.x .ci-scripts/test-bootstrap.sh

ubuntu20_04-bootstrap:
name: Test bootstrapping on Ubuntu 20.04
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .release-notes/fedora-39.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Add Fedora 39 support

We've added support for identifying Fedora 39 and downloading packages for it. As of the time of this release, no release versions of `ponyc` are available- only nightly versions. Release versions of `ponyc` will be available once a version of `ponyc` post 0.58.1 is released.
8 changes: 8 additions & 0 deletions ponyup-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ Linux*)
*) ;;
esac
;;
*x86_64-redhat-linux)
case "$(lsb_release -d)" in
*"Fedora Linux 39"*)
platform_triple_distro="fedora39"
;;
*) ;;
esac
;;
*musl)
platform_triple_distro="musl"
;;
Expand Down
Loading