ci: Add system deps jobs

This commit is contained in:
Mizux Seiha
2022-06-09 21:21:47 +02:00
parent 7dbfb1fd26
commit 30f58f4892

40
.github/workflows/cmake_system_deps.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
# Test or-tools using system wide install dependencies.
name: CMake System Dependencies
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
distro: [system_deps]
lang: [cpp, python, dotnet, java]
fail-fast: false
env:
DISTRO: ${{ matrix.distro }}
LANG: ${{ matrix.lang }}
steps:
- uses: actions/checkout@v2
- name: Build base image
run: make --directory=cmake ${DISTRO}_base
- name: Build env image
run: make --directory=cmake ${DISTRO}_${LANG}_env
- name: Build devel image
run: make --directory=cmake ${DISTRO}_${LANG}_devel
- name: Build project
run: make --directory=cmake ${DISTRO}_${LANG}_build
- name: Test project
run: make --directory=cmake ${DISTRO}_${LANG}_test
- name: Build Install env image
run: make --directory=cmake ${DISTRO}_${LANG}_install_env
- name: Build Install devel image
run: make --directory=cmake ${DISTRO}_${LANG}_install_devel
- name: Build Install
run: make --directory=cmake ${DISTRO}_${LANG}_install_build
- name: Test Install
run: make --directory=cmake ${DISTRO}_${LANG}_install_test
# TODO(mizux): Add macOS + brew job
# TODO(mizux): Add Windows + choco/vcpkg job