-
Notifications
You must be signed in to change notification settings - Fork 1
62 lines (49 loc) · 1.69 KB
/
build-dep-g2o.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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