-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 1.04 KB
/
action.yaml
File metadata and controls
36 lines (36 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: DIPL build
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
Linux-build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: build
run: |
sudo apt-get install libopencv-dev
cmake -S . -B build
cmake --build build -j8 --target install
Macos-build:
runs-on: macos-15
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: install opencv
run : brew install opencv
- name: build
run: |
cmake -S . -B build
cmake --build build -j8 --target install
# Window-build:
# runs-on: windows-latest
# steps:
# - name: Check out repository code
# uses: actions/checkout@v4
# - name: install opencv
# run : vcpkg install opencv:x64-windows
# - name: build
# run : |
# cmake -S . -B build -DUSER_INSTALL_PREFIX=install
# cmake --build build -j8 --target install