-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add jobs to test compile without lp_parser (#3201)
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: CMake Linux C++ LP_PARSER OFF | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
# Building using the github runner environement directly. | ||
cmake: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- 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 | ||
- 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 |