Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
luc committed Nov 20, 2023
1 parent 3ccc20a commit b668442
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/build-dep-g2o.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,35 @@ on:
- build-workflow

jobs:
build:
build-windows:
runs-on: windows-2022

steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1

#- name: Download QT
#run: curl.exe https://download.qt.io/official_releases/qt/5.15/5.15.11/single/qt-everywhere-opensource-src-5.15.11.zip -o qt.zip

#- name: unpack QT
# run: Expand-Archive .\qt.zip

#- name: configure QT
# working-directory: qt-everywhere-src-5.15.11
# run: ./configure -debug -nomake examples -nomake tests -skip qtwebengine -opensource

#- name: build QT
# working-directory: qt-everywhere-src-5.15.11
# run: nmake

- 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
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/prebuit/g2o

0 comments on commit b668442

Please sign in to comment.