Skip to content

backport form main #1523

backport form main

backport form main #1523

# ref: https://github.com/actions/runner-images
name: amd64 Linux CMake C++ LP_PARSER OFF
on: [push, pull_request, workflow_dispatch]
# Building using the github runner environement directly.
jobs:
native:
name: Linux • CMake • LP_PARSER OFF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check cmake
run: cmake --version
- name: Configure
run: >
cmake -S. -Bbuild
-DCMAKE_BUILD_TYPE=Release
-DBUILD_DEPS=ON
-DBUILD_LP_PARSER=OFF
- name: Build
run: >
cmake --build build
--config Release
--target all
-v -j2
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config Release
--target test
-v
- name: Install
run: >
cmake --build build
--config Release
--target install
-v
-- DESTDIR=install