File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build driver
2+ on :
3+ push :
4+ branches :
5+ - ' main'
6+ - ' releases/**'
7+ pull_request :
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+ - uses : pguyot/arm-runner-action@v2
16+ with :
17+ base_image : raspios_lite_arm64:latest
18+ cpu : cortex-a7
19+ image_additional_mb : 1500
20+ bind_mount_repository : true
21+ commands : |
22+ apt-get update
23+ apt-get install -y libopencv-dev libegl1-mesa-dev libcamera-dev cmake build-essential libdrm-dev libgbm-dev openjdk-11-jdk
24+ cmake -B build-pi -DCMAKE_BUILD_TYPE=Release
25+ cmake --build build-pi -j 4
26+
27+ - run : find .
28+
29+ - uses : actions/upload-artifact@master
30+ with :
31+ name : libcamera-driver
32+ path : build-pi/*.so
33+ - uses : actions/upload-artifact@master
34+ with :
35+ name : libcamera-meme
36+ path : build-pi/libcamera_meme
You can’t perform that action at this time.
0 commit comments