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 prebuilt ponyc releases for Ubuntu 22.04 #4097

Merged
merged 1 commit into from
Apr 27, 2022
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM ubuntu:22.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 \
make \
xz-utils \
zlib1g-dev \
curl \
python3-pip \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get -y autoremove --purge \
&& apt-get -y clean \
&& pip3 install cloudsmith-cli

# add user pony in order to not run tests as root
RUN useradd -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 DockerHub when you run this ***
#

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

docker build --pull -t "${NAME}:${TODAY}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TODAY}"
14 changes: 14 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,13 @@ task:
CACHE_BUSTER: 20210224
TRIPLE_VENDOR: unknown
TRIPLE_OS: linux-ubuntu20.04
- name: "nightly: x86-64-unknown-linux-ubuntu22.04"
container:
image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20220426
environment:
CACHE_BUSTER: 20220426
TRIPLE_VENDOR: unknown
TRIPLE_OS: linux-ubuntu22.04
- name: "nightly: x86-64-unknown-linux-musl"
container:
image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20210420
Expand Down Expand Up @@ -444,6 +451,13 @@ task:
CACHE_BUSTER: 20200830
TRIPLE_VENDOR: unknown
TRIPLE_OS: linux-ubuntu20.04
- name: "nightly: x86-64-unknown-linux-ubuntu22.04"
container:
image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20220426
environment:
CACHE_BUSTER: 20220426
TRIPLE_VENDOR: unknown
TRIPLE_OS: linux-ubuntu22.04
- name: "release: x86-64-unknown-linux-musl"
container:
image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20210420
Expand Down
9 changes: 9 additions & 0 deletions .release-notes/4062.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Add prebuilt ponyc binaries for Ubuntu 22.04

We've added prebuilt ponyc binaries specifically made to work on Ubuntu 22.04.

You can opt into using the Ubuntu binaries when using ponyup by running:

```bash
ponyup default ubuntu22.04
```
1 change: 1 addition & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Linux Mint 19.3 | ubuntu18.04
Rocky 8 | rocky8
Ubuntu 18.04 | ubuntu18.04
Ubuntu 20.04 | ubuntu20.04
Ubuntu 22.04 | ubuntu22.04

N.B. If you platform isn't listed, skip to the next section and ponyup will install, as appropriate a Glibc or musl libc build of ponyc.

Expand Down
1 change: 1 addition & 0 deletions RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Package names will be:
* ponyc-x86-64-unknown-linux-rocky8.tar.gz
* ponyc-x86-64-unknown-linux-ubuntu18.04.tar.gz
* ponyc-x86-64-unknown-linux-ubuntu20.04.tar.gz
* ponyc-x86-64-unknown-linux-ubuntu22.04.tar.gz

and should have a version field listing that matches the current release e.g. `0.3.1`.

Expand Down