Libuninameslist version 20240524 #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C | |
on: [push,pull_request] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
env: | |
PYTHON: python3 | |
strategy: | |
matrix: | |
choiceL: [--disable-silent-rules, --enable-frenchlib, --enable-pylib] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create configure | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install autoconf automake libtool gcc | |
autoreconf -i | |
automake | |
- name: Choose configure | |
run: ./configure ${{ matrix.choiceL }} | |
- name: Make library | |
run: make | |
- name: Test library | |
run: make check | |
- name: Test make distcheck | |
if: matrix.choiceL == '--disable-silent-rules' | |
run: make distcheck | |
macos: | |
runs-on: macos-latest | |
env: | |
PYTHON: python3 | |
strategy: | |
matrix: | |
choiceM: [--disable-silent-rules, --enable-frenchlib, --enable-pylib] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create configure | |
run: | | |
python --version | |
pip --version | |
easy_install --version | |
pip install setuptools | |
python -m pip install setuptools | |
python3 -m pip install -U wheel setuptools | |
brew install autoconf automake libtool gcc | |
autoreconf -i | |
automake | |
- name: Choose configure | |
run: ./configure ${{ matrix.choiceM }} | |
- name: Make library | |
run: make | |
- name: Test library | |
run: make check | |
windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
include: [ | |
{ msystem: MINGW64, toolchain: mingw-w64-x86_64-toolchain }, | |
{ msystem: MINGW32, toolchain: mingw-w64-i686-toolchain }, | |
{ msystem: UCRT64, toolchain: mingw-w64-ucrt-x86_64-toolchain }, | |
{ msystem: CLANG64, toolchain: mingw-w64-clang-x86_64-toolchain }, | |
] | |
name: ${{ matrix.msystem }} | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ${{ matrix.msystem }} | |
update: true | |
install: autotools base-devel git ${{ matrix.toolchain }} | |
- name: Create configure | |
run: | | |
autoreconf -i | |
automake | |
- name: Choose configure | |
run: ./configure | |
- name: Make library | |
run: make | |
- name: Test library | |
run: make check |