Skip to content

Docker compile (#13) #12

Docker compile (#13)

Docker compile (#13) #12

Workflow file for this run

name: PX4-Autopilot(hkust_nxt) CI Test
on:
push:
branches: [ "main" , "release_*"]
paths:
- '.github/workflows/px4-autopilot.yaml'
- 'PX4-Autopilot'
pull_request:
branches: [ "main" ]
paths:
- '.github/workflows/px4-autopilot.yaml'
- 'PX4-Autopilot'
jobs:
Containerized-compilation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Submodule update
run: git submodule update --init --recursive
- name: Build Bootloader
run: ./docker_build.sh develop_v1.14.x hkust_nxt-v1_bootloader y
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: hkust_nxt_bootloader
path: PX4-Autopilot/build/hkust_nxt-v1_bootloader/hkust_nxt-v1_bootloader.elf
- name: Build PX4-Autopilot
run: ./docker_build.sh develop_v1.14.x hkust_nxt-v1 y
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: hkust_nxt_default
path: PX4-Autopilot/build/hkust_nxt-v1_default/hkust_nxt-v1_default.px4