Files
ortools-clone/.github/workflows/make_linux_cpp.yml
Corentin Le Molgat 7fb25d1615 ci: Fix make linux cpp
2022-03-04 11:07:45 +01:00

28 lines
648 B
YAML

name: Make Linux C++
on: [push, pull_request]
jobs:
# Building using the github runner environement directly.
make:
runs-on: ubuntu-latest
env:
CC: gcc-10
CXX: g++-10
steps:
- uses: actions/checkout@v2
- name: Check make
run: make --version
- name: Check system
run: make detect_port
- name: Check C++
run: make detect_cc
- name: Build third party
run: make third_party BUILD_PYTHON=OFF BUILD_JAVA=OFF BUILD_DOTNET=OFF
- name: Build C++
run: make all -j4
- name: Test C++
run: make test_cc
- name: Install
run: make install_cc DESTDIR=install