adrv9009: adrv9009 advanced fhm, pa protection, gain, arm gpio #8752
Workflow file for this run
This file contains hidden or 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-flatpak build | |
| on: [push, pull_request] | |
| env: | |
| BUILD_HOST: ubuntu-latest | |
| USERNAME: github-actions | |
| jobs: | |
| docker_tag_workflow: | |
| uses: ./.github/workflows/get_docker_tag.yml | |
| make-flatpak: | |
| runs-on: ubuntu-latest | |
| needs: docker_tag_workflow | |
| steps: | |
| - name: check storage space | |
| run: df -h | |
| - name: "Runner cleanup" | |
| run: | | |
| sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL | |
| sudo docker image prune --all --force | |
| sudo docker builder prune -a --force | |
| - run: df -h | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: '0' | |
| - name: Pull the Docker Image | |
| run: docker pull cristianbindea/scopy2-flatpak:${{ needs.docker_tag_workflow.outputs.docker_tag }} | |
| - name: Run Docker Image | |
| run: | | |
| $GITHUB_WORKSPACE/ci/general/gen_ci_envs.sh > $GITHUB_WORKSPACE/ci/general/gh-actions.envs | |
| docker run --privileged \ | |
| -e CI_SCRIPT='ON' \ | |
| --mount type=bind,source="$GITHUB_WORKSPACE",target=$GITHUB_WORKSPACE \ | |
| --env-file $GITHUB_WORKSPACE/ci/general/gh-actions.envs \ | |
| cristianbindea/scopy2-flatpak:${{ needs.docker_tag_workflow.outputs.docker_tag }} \ | |
| /bin/bash -c 'sudo chown -R runner:runner $GITHUB_WORKSPACE && $GITHUB_WORKSPACE/ci/flatpak/flatpak_build_process.sh' | |
| - name: Set short git commit SHA | |
| shell: bash | |
| run: echo "commit_sha=$(git rev-parse --short ${{ github.sha }})" >> "$GITHUB_ENV" | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: scopy-flatpak-${{ env.commit_sha }} | |
| path: ${{ github.workspace }}/Scopy.flatpak | |
| - name: Upload master flatpak build to continous prerelease | |
| if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
| run: | | |
| DEPLOY_FILE=Scopy-${GITHUB_SHA::7}.flatpak | |
| ARTIFACT_ARCHIVE=Scopy-flatpak.tar.gz | |
| cp ${{ github.workspace }}/Scopy.flatpak ${DEPLOY_FILE} | |
| tar -czvf ${ARTIFACT_ARCHIVE} ${DEPLOY_FILE} | |
| wget https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz | |
| tar xvf ghr_v0.13.0_linux_amd64.tar.gz | |
| ghr_v0.13.0_linux_amd64/ghr -u ${{ github.repository_owner }} -r scopy -name "Continuous build" -b "Latest succesful master build " -prerelease -debug -replace continous ${ARTIFACT_ARCHIVE} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: check storage space | |
| run: df -h |