ci/appimage-x86_86: add compatibility with libiio v1 #72
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: Osc x86_64 AppImage Build | |
| on: [push, pull_request] | |
| env: | |
| BUILD_HOST: ubuntu-24.04 | |
| USERNAME: github-actions | |
| jobs: | |
| build_osc_x86-64_appimage: | |
| runs-on: ubuntu-24.04 | |
| container: | |
| image: cristianbindea/osc-ubuntu20-libiio1:latest | |
| options: --user root | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| set-safe-directory: 'true' | |
| fetch-depth: '0' | |
| - name: Create Osc AppImage | |
| shell: bash | |
| run: | | |
| cd $GITHUB_WORKSPACE | |
| ./CI/appimage_x86_64/build_osc.sh | |
| ./CI/appimage_x86_64/create_appimage.sh run_workflow | |
| - name: Set short git commit SHA | |
| shell: bash | |
| run: | | |
| cd $GITHUB_WORKSPACE | |
| git config --global --add safe.directory $GITHUB_WORKSPACE | |
| echo "commit_sha=$(git rev-parse --short ${{ github.sha }})" >> "$GITHUB_ENV" | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: osc-linux-x86_64-${{ env.commit_sha }} | |
| path: ${{ github.workspace }}/ADI_IIO_Oscilloscope-x86_64.AppImage |