mirror of
https://github.com/libssh2/libssh2.git
synced 2026-01-27 00:18:12 +03:00
ci: use Linux runner for BSDs, add arm64 FreeBSD 14 job
- bump cross-platform-actions to 0.23.0. Ref: https://github.com/cross-platform-actions/action/releases/tag/v0.23.0 - switch to Linux runners (from macOS) for cross-platform-actions. It's significantly faster. - switch back FreeBSD 14 job to cross-platform-actions. Also switch back to default shell. - add FreeBSD 14 arm64 job. Closes #1343
This commit is contained in:
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
@@ -541,12 +541,12 @@ jobs:
|
||||
|
||||
build_netbsd:
|
||||
name: 'NetBSD (cmake, openssl, clang, amd64)'
|
||||
runs-on: macos-12
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: 'cmake'
|
||||
uses: cross-platform-actions/action@v0.21.1
|
||||
uses: cross-platform-actions/action@v0.23.0
|
||||
with:
|
||||
operating_system: 'netbsd'
|
||||
version: '9.3'
|
||||
@@ -565,12 +565,12 @@ jobs:
|
||||
|
||||
build_openbsd:
|
||||
name: 'OpenBSD (cmake, libressl, clang, amd64)'
|
||||
runs-on: macos-12
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: 'cmake'
|
||||
uses: cross-platform-actions/action@v0.21.1
|
||||
uses: cross-platform-actions/action@v0.23.0
|
||||
with:
|
||||
operating_system: 'openbsd'
|
||||
version: '7.4'
|
||||
@@ -588,18 +588,26 @@ jobs:
|
||||
cmake --build bld --parallel 3
|
||||
|
||||
build_freebsd:
|
||||
name: 'FreeBSD (autotools, openssl, clang, amd64)'
|
||||
runs-on: ubuntu-22.04
|
||||
name: 'FreeBSD (autotools, openssl, clang)'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
env:
|
||||
CC: clang
|
||||
strategy:
|
||||
matrix:
|
||||
arch: [x86-64, arm64]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: 'autotools'
|
||||
uses: vmactions/freebsd-vm@v1
|
||||
uses: cross-platform-actions/action@v0.23.0
|
||||
with:
|
||||
# https://ports.freebsd.org/
|
||||
prepare: pkg install -y autoconf automake libtool bash
|
||||
operating_system: 'freebsd'
|
||||
version: '14.0'
|
||||
architecture: ${{ matrix.arch }}
|
||||
environment_variables: 'CC'
|
||||
run: |
|
||||
setenv CC clang
|
||||
# https://ports.freebsd.org/
|
||||
sudo pkg install -y autoconf automake libtool
|
||||
autoreconf -fi
|
||||
mkdir bld && cd bld && ../configure --enable-werror --enable-debug \
|
||||
--with-crypto=openssl \
|
||||
|
||||
Reference in New Issue
Block a user