Skip to content

ci/build: remove Ubuntu 20.04, add 24.04, use GCC 14 on 24.04 (#1210) #6019

ci/build: remove Ubuntu 20.04, add 24.04, use GCC 14 on 24.04 (#1210)

ci/build: remove Ubuntu 20.04, add 24.04, use GCC 14 on 24.04 (#1210) #6019

Workflow file for this run

name: OpenSSL no-deprecated and LibreSSL
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ssl:
runs-on: ubuntu-latest
strategy:
matrix:
ssl: [libressl, openssl]
env:
CMAKE_GENERATOR: Ninja
OPENSSL_ROOT_DIR: "assets/${{ matrix.ssl }}"
steps:
- uses: actions/checkout@v4
- name: fix flaky azure mirrors
if: ${{ runner.os == 'Linux' }}
run: |
sudo sed -i 's/azure\./de\./' /etc/apt/sources.list
- name: install packages
run: |
sudo apt-get update && sudo apt-get install -y ninja-build
- name: Download pre-compiled OpenSSL/LibreSSL
run: |
wget "https://github.com/baresip/tools/releases/download/v2023.11.0/assets.tar.gz"
tar -xf assets.tar.gz
- name: make
run: cmake -B build -DCMAKE_C_FLAGS="-Werror" && cmake --build build -j