Update github actions for modern OSes

Add Ubuntu 22.04, MacOS 12, Windows Server 2022

Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
This commit is contained in:
Alexander Amelkin 2023-01-11 16:59:53 +03:00 committed by Alexander Amelkin
parent 966d6e80b0
commit 707a2980f6
2 changed files with 14 additions and 9 deletions

View File

@ -11,7 +11,7 @@ jobs:
linux: linux:
strategy: strategy:
matrix: matrix:
os: [ ubuntu-18.04, ubuntu-20.04 ] os: [ ubuntu-18.04, ubuntu-20.04, ubuntu-22.04 ]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: install dependencies - name: install dependencies
@ -56,7 +56,7 @@ jobs:
macos: macos:
strategy: strategy:
matrix: matrix:
os: [ macos-10.15, macos-11 ] os: [ macos-10.15, macos-11, macos-12 ]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
@ -77,9 +77,11 @@ jobs:
- name: make distcheck - name: make distcheck
run: make distcheck run: make distcheck
win-srv-2019: windows:
strategy:
runs-on: windows-2019 matrix:
os: [ windows-2019, windows-2022 ]
runs-on: ${{ matrix.os }}
steps: steps:
- name: install dependencies - name: install dependencies

11
INSTALL
View File

@ -18,11 +18,14 @@ library and development headers are required. As of July 2020, the
project is tested automatically to build cleanly for the following project is tested automatically to build cleanly for the following
64-bit operating systems using GitHub Actions workflow: 64-bit operating systems using GitHub Actions workflow:
- Ubuntu 16.04 Xenial Xerus
- Ubuntu 18.04 Bionic Beaver - Ubuntu 18.04 Bionic Beaver
- Ubuntu 20.04 Focal Fossa - Ubuntu 20.04 Focal Fossa
- Ubuntu 22.04 Jammy Jellyfish
- MacOS X 10.15 Catalina - MacOS X 10.15 Catalina
- MacOS 11 Big Sur
- MacOS 12 Monterey
- Microsoft Windows Server 2019 - Microsoft Windows Server 2019
- Microsoft Windows Server 2022
It is also known to build successfully on Ubuntu 14.04 and Fedora 31, It is also known to build successfully on Ubuntu 14.04 and Fedora 31,
but that is not automatically verified. but that is not automatically verified.
@ -41,8 +44,8 @@ but that is not automatically verified.
$ sudo dnf install automake gcc git libtool make openssl-devel \ $ sudo dnf install automake gcc git libtool make openssl-devel \
readline-devel wget readline-devel wget
For MacOS X 10.15 with Xcode and homebrew installed, it is For MacOS with Xcode and homebrew installed, it is recommended to do the
recommended to do the following before building: following before building:
$ brew install automake openssl libtool freeipmi wget $ brew install automake openssl libtool freeipmi wget
$ export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" $ export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
@ -182,7 +185,7 @@ architecture at a time in the source code directory. After you have
installed the package for one architecture, use `make distclean' before installed the package for one architecture, use `make distclean' before
reconfiguring for another architecture. reconfiguring for another architecture.
On MacOS X 10.5 and later systems, you can create libraries and On MacOS and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple `-arch' options to the "universal" binaries--by specifying multiple `-arch' options to the
compiler but only a single `-arch' option to the preprocessor. Like compiler but only a single `-arch' option to the preprocessor. Like