Files
ortools-clone/.github/workflows/make_macos_java.yml
Laurent Perron 1adfa7fc80 make: cleanup
* Remove SYSTEM (only use PLATFORM)
* Add HAS_PYTHON HAS_JAVA HAS_DOTNET
* move Makefile.unix|win.mk into Makefile.port.mk
* fix make CI
2022-03-09 09:23:41 +01:00

33 lines
803 B
YAML

name: Make MacOS Java
on: [push, pull_request]
jobs:
# Building using the github runner environement directly.
make:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install brew Make
run: |
brew install make
echo "/usr/local/opt/make/libexec/gnubin" >> $GITHUB_PATH
- name: Check java
run: java -version
- name: Swig install
run: brew install 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 C++ and Java
run: make java JOBS=4
- name: Test Java
run: make test_java -j4
- name: Create maven package
run: make package_java