chore: Remove TLite F4 fw build + cpn option #2040
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: Linux Companion | |
on: | |
push: | |
branches: | |
- '2.6' | |
- '2.7' | |
- '2.8' | |
- '2.9' | |
- 'main' | |
tags: | |
- v* | |
paths: | |
- '.github/workflows/linux_cpn.yml' | |
- 'companion/**' | |
- 'tools/build-companion.sh' | |
pull_request: | |
branches: | |
- '2.6' | |
- '2.7' | |
- '2.8' | |
- 'main' | |
paths: | |
- '.github/workflows/linux_cpn.yml' | |
- 'companion/**' | |
- 'tools/build-companion.sh' | |
workflow_dispatch: | |
env: | |
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/edgetx/edgetx-dev:2.9.0 | |
volumes: | |
- ${{ github.workspace }}:/src | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Build | |
working-directory: ${{github.workspace}} | |
shell: bash | |
run: | | |
mkdir output && \ | |
tools/build-companion.sh "$(pwd)" "$(pwd)/output/" | |
- name: Compose release filename | |
# https://stackoverflow.com/questions/58033366/how-to-get-current-branch-within-github-actions | |
run: echo "artifact_name=edgetx-cpn-linux-${GITHUB_REF##*/}" >> $GITHUB_ENV | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: "${{ env.artifact_name }}" | |
path: ${{github.workspace}}/output | |
retention-days: 15 |