File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI on linux and macOS no cuda
2+
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+ schedule :
8+ - cron : " 5 8 * * 1"
9+
10+ permissions :
11+ contents : read
12+ checks : write
13+ pull-requests : write
14+
15+ jobs :
16+ build :
17+ name : ${{ matrix.os }}
18+ runs-on : ${{ matrix.os }}
19+ strategy :
20+ fail-fast : false
21+ matrix :
22+ os : [ubuntu-latest, macos-latest]
23+
24+ steps :
25+ - name : Checkout repository
26+ uses : actions/checkout@v5
27+
28+ - name : Install Linux dependencies with caching
29+ uses : awalsh128/cache-apt-pkgs-action@latest
30+ if : runner.os == 'Linux'
31+ with :
32+ packages : libopencv-dev libboost-dev libeigen3-dev libtbb-dev
33+ version : 1.0
34+
35+ - name : Install macOS dependencies with caching
36+ uses : tecolicom/actions-use-homebrew-tools@v1
37+ if : runner.os == 'macOS'
38+ with :
39+ # put your list of homebrew packages here for the dependencies you need
40+ tools : opencv boost eigen tbb
41+
42+ - name : Build (Release)
43+ uses : lukka/run-cmake@v10
44+ with :
45+ configurePreset : ' release'
46+ configurePresetAdditionalArgs : " ['-DWITH_CUDA:BOOL=ON']"
47+ buildPreset : ' release'
48+ testPreset : ' release'
49+
50+ - name : Build (Debug)
51+ uses : lukka/run-cmake@v10
52+ with :
53+ configurePreset : ' debug'
54+ configurePresetAdditionalArgs : " ['-DWITH_CUDA:BOOL=ON']"
55+ buildPreset : ' debug'
56+ testPreset : ' debug'
You can’t perform that action at this time.
0 commit comments