-
Notifications
You must be signed in to change notification settings - Fork 165
41 lines (32 loc) · 1.32 KB
/
kuiperbuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Kuiper Scopy Build
on: [push, pull_request]
env:
BUILD_HOST: ubuntu-20.04
USERNAME: runner
jobs:
build_scopy_for_kuiper:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
set-safe-directory: 'true'
- name: Pull the Docker Image
run: docker pull cristianbindea/scopy2-kuiper:latest
- name: Build Scopy
shell: bash
run: |
docker run \
-v $GITHUB_WORKSPACE:/home/runner/scopy \
cristianbindea/scopy2-kuiper:latest /bin/bash -c 'cd /home/runner/scopy && ./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"