Scopy1 Appimage #11
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: Scopy1 armhf Build | |
on: [push, pull_request] | |
env: | |
BUILD_HOST: ubuntu-20.04 | |
USERNAME: github-actions | |
jobs: | |
build_scopy1_armhf: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
set-safe-directory: 'true' | |
- name: Pull the Docker Image | |
run: docker pull cristianbindea/scopy1-armhf-appimage:latest | |
- name: Create Scopy armhf AppImage | |
shell: bash | |
run: | | |
cd $GITHUB_WORKSPACE | |
sudo apt update | |
./CI/armhf/create_sysroot.sh install_packages install_qemu | |
./CI/armhf/armhf_build_process.sh generate_ci_envs | |
docker run \ | |
--mount type=bind,source="$GITHUB_WORKSPACE",target=/home/runner/scopy \ | |
--env-file $GITHUB_WORKSPACE/CI/armhf/gh-actions.envs \ | |
cristianbindea/scopy1-armhf-appimage:latest \ | |
/bin/bash -c 'cd $HOME && \ | |
sudo chown -R runner:runner scopy && \ | |
cd $HOME/scopy && \ | |
./CI/armhf/armhf_build_process.sh run_workflow | |
' | |
- name: Set short git commit SHA | |
shell: bash | |
run: echo "commit_sha=$(git rev-parse --short ${{ github.sha }})" >> "$GITHUB_ENV" | |
# DEBUG WITH SSH | |
# - name: Setup upterm session | |
# uses: lhotari/action-upterm@v1 | |
# if: ${{ failure() }} | |
# with: | |
# wait-timeout-minutes: 3 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: scopy-linux-armhf-${{ env.commit_sha }} | |
path: ${{ github.workspace }}/Scopy1-armhf.AppImage |