ci/kuiper: apply cmake format #16
Workflow file for this run
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: Kuiper Scopy Build | |
on: [push, pull_request] | |
env: | |
BUILD_HOST: ubuntu-22.04 | |
USERNAME: github-actions | |
jobs: | |
build_scopy_on_ubuntu22: | |
runs-on: ubuntu-22.04 | |
container: | |
image: cristianbindea/scopy2-kuiper:latest | |
options: --user root | |
steps: | |
- uses: actions/checkout@v4 | |
- name: dubios | |
shell: bash | |
run: git config --global --add safe.directory '*' | |
- name: Build Scopy | |
shell: bash | |
run: | | |
cd $GITHUB_WORKSPACE | |
./ci/kuiper/kuiper_build_process.sh install_packages download_cmake download_crosscompiler move_sysroot build_scopy build_iio-emu create_appdir create_appimage move_appimage | |
- name: Set short git commit SHA | |
shell: bash | |
run: echo "commit_sha=$(git rev-parse --short ${{ github.sha }})" >> "$GITHUB_ENV" | |
- name: Upload binaries to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: ${{ github.workspace }}\Scopy.AppImage | |
asset_name: scopy-linux-armhf-${{ env.commit_sha }} | |
tag: ${{ github.ref }} | |
overwrite: true | |
body: "Scopy armhf" |