-
-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prebuilt ponyc binaries for Ubuntu 24.04
- Loading branch information
1 parent
be1000c
commit dd6b876
Showing
13 changed files
with
89 additions
and
19 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
.ci-dockerfiles/x86-64-unknown-linux-ubuntu24.04-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,34 @@ | ||
FROM ubuntu:24.04 | ||
|
||
# Keep annoying tzdata prompt from coming up | ||
# Thanks cmake! | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DEBCONF_NONINTERACTIVE_SEEN true | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
apt-transport-https \ | ||
build-essential \ | ||
clang \ | ||
cmake \ | ||
git \ | ||
lldb \ | ||
make \ | ||
xz-utils \ | ||
zlib1g-dev \ | ||
curl \ | ||
python3-pip \ | ||
wget \ | ||
systemtap-sdt-dev \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& apt-get -y autoremove --purge \ | ||
&& apt-get -y clean \ | ||
&& pip3 install --break-system-packages 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/x86-64-unknown-linux-ubuntu24.04-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-ubuntu24.04-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
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
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,9 @@ | ||
## Add prebuilt ponyc binaries for Ubuntu 24.04 | ||
|
||
We've added prebuilt ponyc binaries specifically made to work on Ubuntu 24.04. | ||
|
||
You can opt into using the Ubuntu binaries when using ponyup by running: | ||
|
||
```bash | ||
ponyup default ubuntu24.04 | ||
``` |
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