Skip to content

Commit

Permalink
(actions)[temp] openbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Nov 28, 2023
1 parent 7478f96 commit aabbbca
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,53 @@ jobs:
export PYTHONPATH=/usr/local/lib/python${python_version_short}/dist-packages${PYTHONPATH:+:${PYTHONPATH}}
python tests/PyKDLtest.py
build_openbsd:
name: Build OpenBSD
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
orocos_build_type: [Release]
compiler: [gcc, clang]
env:
CC: ${{ matrix.compiler }}
OROCOS_BUILD_TYPE: ${{ matrix.orocos_build_type }}
ROS_PYTHON_VERSION: 3
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Script
uses: vmactions/openbsd-vm@v1
with:
prepare: |
sudo apt-get install libeigen3-dev libcppunit-dev python3-pip
pip install psutil future
run: |
cd orocos_kdl
mkdir build
cd build
cmake -DENABLE_TESTS:BOOL=ON -DCMAKE_BUILD_TYPE=${OROCOS_KDL_BUILD_TYPE} ./..
make
sudo make install
cd ../..
cd python_orocos_kdl
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=${OROCOS_KDL_BUILD_TYPE} ./..
make
sudo make install
cd ../..
sudo ldconfig
cd orocos_kdl/build
make check
cd ../..
cd python_orocos_kdl
python_version_short=$(python -c "import sys; print('{}.{}'.format(sys.version_info[0], sys.version_info[1]))")
export PYTHONPATH=/usr/local/lib/python${python_version_short}/dist-packages${PYTHONPATH:+:${PYTHONPATH}}
python tests/PyKDLtest.py
industrial_ci:
name: Industrial CI - ${{ matrix.env.ROS_DISTRO }}
runs-on: ubuntu-latest
Expand Down

0 comments on commit aabbbca

Please sign in to comment.