Files
ortools-clone/.github/workflows/make_linux_java.yml
2022-02-21 14:14:16 +01:00

31 lines
749 B
YAML

name: Make Linux Java
on: [push, pull_request]
jobs:
# Building using the github runner environement directly.
make:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check java
run: java -version
- name: Swig install
run: sudo apt install -y swig
- name: Check swig
run: swig -version
- name: Check make
run: make --version
- name: Check system
run: make detect_port
- name: Check Java
run: make detect_java
- name: Build third party
run: make third_party BUILD_JAVA=ON -j4
- name: Build C++ and Java
run: make all -j4
- name: Test Java
run: make test_java -j4
- name: Create maven package
run: make package_java