mirror of https://github.com/davisking/dlib.git
try this instead
This commit is contained in:
parent
c173055d29
commit
379d5e4e12
|
@ -247,16 +247,3 @@ jobs:
|
||||||
run: build/dtest --runall --no_test_timer -q
|
run: build/dtest --runall --no_test_timer -q
|
||||||
- name: Build examples, etc
|
- name: Build examples, etc
|
||||||
run: cmake --build build --config Release --parallel 2
|
run: cmake --build build --config Release --parallel 2
|
||||||
|
|
||||||
mex-wrapper:
|
|
||||||
runs-on: 'ubuntu-latest'
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: matlab-actions/run-command@v1
|
|
||||||
- name: Compile mex wrappers
|
|
||||||
run: |
|
|
||||||
cd ../matlab
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake ..
|
|
||||||
cmake --build build --config Release --target install --parallel 4
|
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
name: Matlab
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
working-directory: dlib/matlab
|
||||||
|
|
||||||
|
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: |
|
||||||
|
cd ../matlab
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
cmake --build build --config Release --target install --parallel 4
|
Loading…
Reference in New Issue