Skip to content

nothing works

nothing works #90

Workflow file for this run

name: CI
on:
push:
paths:
- 'src/**'
- 'CMakeLists.txt'
pull_request:
paths:
- 'src/**'
- 'CMakeLists.txt'
workflow_dispatch:
jobs:
build:
name: "Build Project"
runs-on: ubuntu-latest
steps:
- run: echo '::echo::on'
- name: "Get PCL"
run: |
sudo apt-get update && sudo apt-get install libpcl-dev
- name: "Checkout"
uses: actions/checkout@main
with:
submodules: recursive
- name: "Build/Install Stage 1"
run: |
cmake . -B ./cmake-build -DUSE_WPILIB=ON -DMULTISTAGE_STEP=0
cmake --build ./cmake-build --config Release
cmake --install ./cmake-build
- name: "Build/Install Stage 2"
run: |
cmake . -B ./cmake-build -DUSE_WPILIB=ON -DMULTISTAGE_STEP=1
cmake --build ./cmake-build --config Release
cmake --install ./cmake-build
- name: "Inspect Install"
run: |
cd install
ls -l -R
# - name: "Zip Artifacts"
# run: |
# sudo apt-get install zip
# zip -r build.zip install
- name: "Upload Artifacts"
uses: actions/upload-artifact@main
with:
name: ci-build
path: |
./install
./cmake-build