Skip to content

Commit

Permalink
GH Action 5.11: Fixed Ubuntu 20 workflow and removed iceoryx workflow (
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianReimold committed Apr 6, 2023
1 parent e0a9081 commit fe9b130
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 138 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/build-ubuntu-20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
sudo apt update
sudo apt-get install ninja-build doxygen graphviz libcurl4-openssl-dev libprotobuf-dev libprotoc-dev protobuf-compiler libhdf5-dev qt5-default libqwt-qt5-dev
- name: Install Capn Proto
- name: Install Cap'n Proto
run: |
mkdir "${{ runner.workspace }}/capnp"
cd "${{ runner.workspace }}/capnp"
Expand All @@ -28,22 +28,32 @@ jobs:
sudo make install
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: 'true'
fetch-depth: 0

- name: Install Python requirements
shell: bash
run: |
sudo pip3 install -r "$GITHUB_WORKSPACE/requirements.txt"
sudo apt-get -y install python3-dev python3-venv
mkdir ".venv_build"
python3 -m venv ".venv_build"
source ".venv_build/bin/activate"
pip install --upgrade pip
pip install wheel setuptools
pip install -r "$GITHUB_WORKSPACE/requirements.txt"
- name: CMake
run: |
source ".venv_build/bin/activate"
export CC=/usr/bin/gcc-9
export CXX=/usr/bin/g++-9
mkdir "${{ runner.workspace }}/_build"
cd "${{ runner.workspace }}/_build"
cmake $GITHUB_WORKSPACE -G "Ninja" \
-DHAS_HDF5=ON \
-DHAS_QT5=ON \
Expand Down Expand Up @@ -78,6 +88,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LOCALSTATEDIR=/var \
-DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu
sudo mkdir /etc/ecal
sudo cp "$GITHUB_WORKSPACE/ecal/core/cfg/ecal.ini" /etc/ecal
shell: bash
Expand Down Expand Up @@ -128,13 +139,13 @@ jobs:
working-directory: ${{ runner.workspace }}/_build

- name: Upload Debian
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ubuntu-debian
path: ${{ runner.workspace }}/_build/_deploy/*.deb

- name: Upload Python Wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ubuntu-python-wheel
path: ${{ runner.workspace }}/_build/_deploy/*.whl
133 changes: 0 additions & 133 deletions .github/workflows/build-ubuntu-iceoryx.yml

This file was deleted.

0 comments on commit fe9b130

Please sign in to comment.