Skip to content

Commit

Permalink
Add support for Fedora 39
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen committed Jan 30, 2024
1 parent d9afe5a commit 0fe347f
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
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.

0 comments on commit 0fe347f

Please sign in to comment.