File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 LIBFREENECT_PATH : ${{ github.workspace }}/libfreenect2
1212 BUILD_PATH : ${{ github.workspace }}/build
1313 INSTALL_PATH : ${{ github.workspace }}/build/Install
14- ARCHIVE_NAME : Kinect-${{ matrix.name }}.zip
1514 steps :
1615 - name : Checkout Kinect
1716 uses : actions/checkout@v3
7675 shell : bash
7776 working-directory : ${{ env.BUILD_PATH }}
7877 run : cmake .. -DCMAKE_BUILD_TYPE='Release' -DSC_PATH="$SC_PATH" -DCMAKE_INSTALL_PREFIX="$INSTALL_PATH"
79- - name : Build Project
78+ - name : Build Plugin
8079 shell : bash
8180 working-directory : ${{ env.BUILD_PATH }}
82- run : cmake --build . --config Release --parallel $(nproc)
81+ env :
82+ CMAKE_BUILD_PARALLEL_LEVEL : 4
83+ run : cmake --build . --config "Release" --target install
84+ - name : Create Archive
85+ shell : bash
86+ working-directory : ${{ env.BUILD_PATH }}
87+ run : |
88+ mkdir -p ${{ env.BUILD_PATH }}/archive
89+ zip -r ${{ env.BUILD_PATH }}/archive/Kinect-${{ runner.os }}.zip ${{ env.INSTALL_PATH }}
90+ - name : Upload Archive
91+ uses : actions/upload-artifact@v3
92+ with :
93+ name : Kinect-${{ runner.os }}.zip
94+ path : ${{ env.BUILD_PATH }}/archive/Kinect-${{ runner.os }}.zip
You can’t perform that action at this time.
0 commit comments