Skip to content

Commit

Permalink
try to build sophus2 against venv
Browse files Browse the repository at this point in the history
  • Loading branch information
strasdat committed Aug 17, 2023
1 parent b6feaaf commit 7e5f518
Show file tree
Hide file tree
Showing 32 changed files with 19 additions and 915 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
compiler: gcc
- os: ubuntu-20.04
compiler: clang
# - os: macos-11
# compiler: clang

fail-fast: false
steps:
- uses: actions/checkout@v3
Expand All @@ -39,18 +38,11 @@ jobs:
./install_deps_ubuntu.sh
if: matrix.os == 'ubuntu-20.04'

- name: Install dependencies (Mac)
working-directory: ./infra/scripts
run: |
./install_deps_mac.sh
if: matrix.os == 'macos-11'

- name: Download dependencies (proto)
working-directory: ./infra/
working-directory: ./infra
run: |
ls -l
source ./bootstrap_venv.sh
cd scripts
./install_farm_ng_cmake.sh
- name: Compile (gcc)
working-directory: ./infra/scripts
Expand All @@ -67,11 +59,3 @@ jobs:
source ../venv/bin/activate
./compile_clang.sh
if: matrix.compiler == 'clang'

- name: clang-tidy
working-directory: ./infra/
run: |
source ./bootstrap_venv.sh
cd ..
./run_clang_tidy.sh
if: matrix.os == 'ubuntu-20.04' && matrix.compiler == 'clang'
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
push:
branches: [release-build-branch, merge]
branches: [release-build-branch]
workflow_dispatch:

concurrency:
Expand Down
5 changes: 1 addition & 4 deletions cmake/scripts/download_release.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#!/bin/bash -ex

# This script downloads the matching farm_ng_cmake Github release based on the
# current git SHA and inferred platform version. The release and platform can be
# overridden through the RELEASE_SHA and RELEASE_PLATFORM env variables.

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR

# Choose release SHA based on git repo SHA
RELEASE_SHA="${RELEASE_SHA:-$(git rev-parse --short HEAD)}"
RELEASE_SHA= b6feaaf2ab71bf8b695d0e405d39a8a6dde2f883

# Guess platform based on current platform
if [[ -z "${RELEASE_PLATFORM}" ]]; then
Expand Down
27 changes: 0 additions & 27 deletions cpp/sophus2/.github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

21 changes: 0 additions & 21 deletions cpp/sophus2/.github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

181 changes: 0 additions & 181 deletions cpp/sophus2/.github/workflows/build.yml

This file was deleted.

34 changes: 0 additions & 34 deletions cpp/sophus2/.github/workflows/docs.yml

This file was deleted.

16 changes: 0 additions & 16 deletions cpp/sophus2/.github/workflows/format.yml

This file was deleted.

21 changes: 0 additions & 21 deletions cpp/sophus2/.github/workflows/pypi-release.yml

This file was deleted.

24 changes: 0 additions & 24 deletions cpp/sophus2/.github/workflows/sympy.yml

This file was deleted.

0 comments on commit 7e5f518

Please sign in to comment.