dlib/.github/workflows/build_matlab.yml

31 lines
512 B
YAML
Raw Normal View History

2023-07-21 20:53:20 +08:00
name: Matlab
on:
push:
branches:
- master
pull_request:
branches:
- master
defaults:
run:
shell: bash
working-directory: dlib/matlab
2023-07-21 20:56:12 +08:00
2023-07-21 20:53:20 +08:00
jobs:
mex-wrapper:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v2
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v1
- name: Compile mex wrappers
run: |
2023-07-21 21:01:28 +08:00
pwd
2023-07-21 20:53:20 +08:00
mkdir build
cd build
cmake ..
2023-07-21 21:07:06 +08:00
cmake --build . --config Release --target install --parallel 4