ci: remove deprecated macOS 12 to prevent pipeline timeout #1663
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 x86_64 AppImage Build | |
on: [push, pull_request] | |
env: | |
BUILD_HOST: ubuntu-20.04 | |
USERNAME: github-actions | |
jobs: | |
build_scopy1_x86-64_appimage: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
set-safe-directory: 'true' | |
- name: Pull the Docker Image | |
run: docker pull astanea/scopy1-x86_64-appimage:1.5.0 | |
- name: Create Scopy AppImage | |
shell: bash | |
run: | | |
export CI_SCRIPT=ON | |
cd $GITHUB_WORKSPACE | |
./CI/x86_64/x86-64_appimage_process.sh generate_ci_envs | |
docker run \ | |
--mount type=bind,source="$GITHUB_WORKSPACE",target=/home/runner/scopy \ | |
--env-file $GITHUB_WORKSPACE/CI/x86_64/gh-actions.envs \ | |
astanea/scopy1-x86_64-appimage:1.5.0 \ | |
/bin/bash -c 'cd $HOME && \ | |
sudo chown -R runner:runner scopy && \ | |
cd $HOME/scopy && \ | |
./CI/x86_64/x86-64_appimage_process.sh download_tools build_iio-emu build_scopy 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" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: scopy-linux-x86_64-${{ env.commit_sha }} | |
path: ${{ github.workspace }}/Scopy1-x86_64.AppImage |