This repository has been archived by the owner on May 15, 2024. It is now read-only.
Fix CI action by setting different names for debpkg compiled for diff… #143
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: debpkg | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 13 * * 1' | |
env: | |
tag: v1.5.1 | |
jobs: | |
build: | |
name: build debpkg | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: [aarch64-linux-gnu, arm-linux-gnueabihf] | |
steps: | |
- name: set up git repository | |
uses: actions/checkout@v4 | |
- name: set up enviroment | |
run: | | |
sudo apt-get update | |
sudo apt-get install libeigen3-dev libcppunit-dev | |
sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu | |
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf | |
pip install psutil future | |
- name: build orocos_kdl_package | |
run: | | |
ls | |
chmod +x build.sh | |
./build.sh ${{matrix.compiler}} $tag | |
ls | |
- name: upload debpkg to artifactory | |
uses: actions/upload-artifact@v4 | |
with: | |
name: debpkgt-${{ matrix.compiler }} | |
path: ./*.deb |