Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Bindea Cristian <[email protected]>
  • Loading branch information
bindea-cristian committed Apr 5, 2024
1 parent de511f8 commit 1935500
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/kuiperbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,28 @@ name: Kuiper Scopy Build
on: [push, pull_request]

env:
BUILD_HOST: ubuntu-22.04
USERNAME: github-actions
BUILD_HOST: ubuntu-20.04
USERNAME: runner

jobs:

build_scopy_on_ubuntu22:
runs-on: ubuntu-22.04
container:
image: cristianbindea/scopy2-kuiper:latest
options: --user root
build_scopy_for_kuiper:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4
with:
set-safe-directory: 'true'

- name: fix dubious ownership
shell: bash
run: git config --global --add safe.directory $GITHUB_WORKSPACE

- name: fix HOME variable
shell: bash
run: echo HOME=/home/runner | sudo tee -a $GITHUB_ENV
- name: Pull the Docker Image
run: docker pull cristianbindea/scopy2-kuiper:latest

- 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
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
Expand Down

0 comments on commit 1935500

Please sign in to comment.