Skip to content

Remove former CI logos from ReadMe #109

Remove former CI logos from ReadMe

Remove former CI logos from ReadMe #109

Workflow file for this run

name: Checks
on: [push, pull_request]
jobs:
Unix:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Dependencies
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
brew install automake libtool
fi
- name: Configure
run: |
cd Project/GNU/Library
autoreconf -if
./configure
- name: Build
run: |
cd Project/GNU/Library
make
- name: Check
run: |
cd Project/GNU/Library
make check
- name: CMake Build
run: |
mkdir Project/CMake/Build
cd Project/CMake/Build
cmake -DBUILD_ZENLIB=1 ..
make
Windows:
runs-on: windows-latest
strategy:
matrix:
architecture: [ Win32, x64, ARM64 ]
fail-fast: false
steps:
- name: Checkout ZenLib
uses: actions/checkout@v4
with:
path: ZenLib
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build
run: msbuild /p:Configuration=Release /p:Platform=${{ matrix.architecture }} ${{ github.workspace }}\ZenLib\Project\MSVC2022\ZenLib_MSVC.sln /verbosity:quiet /warnaserror
MinGW:
runs-on: windows-latest
strategy:
matrix:
include:
- platform: Win32
msystem: MINGW32
- platform: x64
msystem: MINGW64
fail-fast: false
env:
GENERATOR: "Unix Makefiles"
CONFIGURATION: "Release"
steps:
- name: Checkout ZenLib
uses: actions/checkout@v4
- name: Setup MSYS2 environment
uses: msys2/setup-msys2@v2
with:
release: false
msystem: ${{ matrix.msystem }}
install: make
- name: Configure CMake project
shell: bash
run: |
# Set the build configuration flag for CMake
cmake -S Project/CMake -B build -G "$GENERATOR" -DCMAKE_BUILD_TYPE=$CONFIGURATION
- name: Build project using make
shell: bash
run: make -C build -j