Skip to content

Make size_float static. #144

Make size_float static.

Make size_float static. #144

Workflow file for this run

name: CMake
on: [push, pull_request]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-11, macos-12, ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v3
- name: Install gdbm-compat
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt install libgdbm-dev libgdbm-compat-dev
fi
shell: bash
- name: Install Windows Dependencies
if: runner.os == 'Windows'
shell: bash
run: choco install winflexbison3
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --config $BUILD_TYPE
- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
run: ctest --verbose -C $BUILD_TYPE