From 5963b304d95ab8b1da0ca895ba775d4069f4f657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Svensson?= Date: Mon, 26 May 2025 16:44:39 +0200 Subject: [PATCH] Update CI to use ubuntu-24.04 and the latest github actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use OpenSSL 1.1.1 required by OTP 23 and 24. Signed-off-by: Björn Svensson --- .github/workflows/ci.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a0e25c..0988488 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,18 +4,25 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-20.04 - + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - name: Install OpenSSL 1.1.1 (for OTP23/24) + run: | + curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb + curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2.24_amd64.deb + curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2.24_amd64.deb + sudo dpkg -i openssl_1.1.1f-1ubuntu2.24_amd64.deb \ + libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb \ + libssl-dev_1.1.1f-1ubuntu2.24_amd64.deb + - uses: actions/cache@v4 with: path: | ~/erlide_tools ~/.kerl key: ${{ runner.os }}-otp-${{ hashFiles('build_utils.sh') }} - name: Set up JDK 1.8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '8' distribution: 'zulu'