File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -20,19 +20,32 @@ jobs:
20
20
restore-keys : |
21
21
${{ runner.os }}-cmake-
22
22
23
+ # Install the dependencies
23
24
- name : Install dependencies
24
25
run : |
25
26
sudo apt update
26
27
sudo apt install -y cmake ocl-icd-opencl-dev opencl-headers libopencv-dev
27
28
29
+ # Build the applications
28
30
- name : Build with CMake
29
31
run : |
30
32
cd /home/runner/work/OpenCL-Development-Real-time-Image-Processing/OpenCL-Development-Real-time-Image-Processing/
31
33
mkdir -p build
32
34
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
33
35
cd build
34
36
make
35
-
37
+
38
+ # Create a tar.gz archive of the build folder
39
+ - name : Create tar.gz archive
40
+ run : |
41
+ tar -czf build.tar.gz -C build .
42
+
43
+ # Create a zip archive of the build folder
44
+ - name : Create zip archive
45
+ run : |
46
+ zip -r build.zip build/
47
+
48
+ # Publish the release
36
49
- name : Release
37
50
38
51
with :
You can’t perform that action at this time.
0 commit comments