-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/cpvrlab/SLProject4
- Loading branch information
Showing
10 changed files
with
270 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Build Dependancy Assimp | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run build script | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: ./build_assimp_for_linux.sh v5.0.0 | ||
|
||
- name: Archive prebuilt assimp | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-assimp-linux | ||
path: ${{ github.workspace }}/externals/prebuilt/linux_assimp_v5.0.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Build dependancy G2O | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-windows: | ||
runs-on: windows-2022 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
|
||
- name: Run build script | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: ./build_g2o_x64.bat | ||
|
||
- name: Archive prebuilt g2o | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-g2o-windows | ||
path: ${{ github.workspace }}/externals/prebuild_scripts/g2o/INSTALL-vs | ||
|
||
build-linux: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run build script | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: ./build_g2o_for_linux.sh | ||
|
||
- name: Archive prebuilt g2o | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-g2o-linux | ||
path: ${{ github.workspace }}/externals/prebuilt/linux_g2o | ||
build-macos: | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run build script intel | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: arch -x86_64 ./build_g2o_for_mac64.sh | ||
|
||
- name: Run build script arm | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: ./build_g2o_for_macArm64.sh | ||
|
||
- name: Archive prebuilt g2o intel | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-g2o-mac64 | ||
path: ${{ github.workspace }}/externals/prebuilt/mac64_g2o_20170730 | ||
|
||
- name: Archive prebuilt g2o arm | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-g2o-arm64 | ||
path: ${{ github.workspace }}/externals/prebuilt/macArm64_g2o_20170730 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Build dependancy GLFW | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: apt update | ||
run: sudo apt-get update | ||
|
||
- name: install xorg-dev | ||
run: sudo apt-get install -y xorg-dev | ||
|
||
- name: Run build script | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: ./build_glfw_for_linux.sh 3.3.2 | ||
|
||
- name: Archive prebuilt glfw | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-glfw-linux | ||
path: ${{ github.workspace }}/externals/prebuilt/linux_glfw_3.3.2 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Build dependancy OpenCV | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-windows: | ||
runs-on: windows-2022 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
|
||
- name: Run build script | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: ./build_opencv_w_contrib_for_win64.bat 4.7.0 | ||
|
||
- name: Archive prebuilt opencv | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-opencv-windows | ||
path: ${{ github.workspace }}/externals/prebuild_scripts/win64_opencv_4.7.0 | ||
build-linux: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run build script | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: ./build_opencv_w_contrib_for_linux.sh 4.7.0 | ||
|
||
- name: Archive prebuilt opencv | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-opencv-linux | ||
path: ${{ github.workspace }}/externals/prebuilt/linux_opencv_4.7.0 | ||
build-macos: | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run build script intel | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: arch -x86_64 ./build_opencv_w_contrib_for_mac64.sh 4.7.0 | ||
|
||
- name: Archive prebuilt opencv intel | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-opencv-mac intel | ||
path: ${{ github.workspace }}/externals/prebuild_scripts/opencv/build/mac64_opencv_4.7.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Build dependancy OpenSSL | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-windows: | ||
runs-on: windows-2022 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
- uses: ilammy/setup-nasm@v1 | ||
|
||
#- name: Install winget | ||
# uses: Cyberboss/install-winget@v1 | ||
|
||
#- name: Install nasm | ||
# run: winget install -e --id NASM.NASM | ||
#- name: Download nasm | ||
# uses: https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip | ||
|
||
#- name: Choco install nasm | ||
# uses: crazy-max/ghaction-chocolatey@v3 | ||
# with: | ||
# args: install nasm | ||
|
||
- name: Run build script | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: ./build_openssl_for_win64.bat | ||
|
||
- name: Archive prebuilt openssl windows | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-openssl-windows | ||
path: ${{ github.workspace }}/externals/prebuilt/win64_openssl | ||
|
||
build-linux: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run build script | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: ./build_openssl_for_linux.sh | ||
|
||
- name: Archive prebuilt linux | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-openssl-linux | ||
path: ${{ github.workspace }}/externals/prebuilt/linux_openssl_1.1.1h | ||
build-macos: | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run build script intel | ||
working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ | ||
run: arch -x86_64 ./build_openssl_for_mac64_and_iosV8.sh | ||
|
||
- name: Archive prebuilt openssl intel | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-openssl-mac64 | ||
path: ${{ github.workspace }}/externals/prebuilt/mac64_openssl_1.1.1g | ||
|
||
- name: Archive prebuilt openssl ios | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: prebuilt-openssl-ios | ||
path: ${{ github.workspace }}/externals/prebuilt/iosV8_openssl_1.1.1g |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Build linux-x86 | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: apt update | ||
run: sudo apt-get update | ||
|
||
- name: install xorg-dev | ||
run: sudo apt-get install -y xorg-dev | ||
|
||
- name: install libtbb | ||
run: sudo apt-get install -y libtbb-dev | ||
|
||
- name: Configure CMake | ||
run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=Debug -DSL_DOWNLOAD_DATA=OFF -DSL_BUILD_WITH_KTX=OFF -DSL_BUILD_WITH_MEDIAPIPE=OFF | ||
|
||
- name: Build | ||
run: cmake --build ${{ github.workspace }}/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters