testing-1087 #27
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: testing-1087 | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| ubuntu-20-first: | |
| name: Step 1 - Ubuntu 20.04 container | |
| runs-on: self-hosted | |
| container: | |
| image: ubuntu:20.04 | |
| steps: | |
| - name: Install OS prereqs | |
| run: | | |
| apt-get update | |
| apt-get install -y --no-install-recommends \ | |
| ca-certificates curl git sudo \ | |
| libssl-dev libffi-dev zlib1g | |
| - name: Fix pip cache permissions | |
| run: sudo chown -R $(whoami) /github/home | |
| - uses: actions/checkout@v6 | |
| - name: Setup Python 3.11 | |
| uses: gowridurgad/setup-python@testing-1087 | |
| with: | |
| python-version: "3.11" | |
| - name: Show cache layout after job 1 | |
| run: ls -la /__w/_tool/Python/ | |
| - name: Upgrade pip | |
| run: python -m pip install --upgrade pip | |
| ubuntu-24-second: | |
| name: Step 2 - Ubuntu 24.04 container | |
| needs: ubuntu-20-first | |
| runs-on: self-hosted | |
| container: | |
| image: ubuntu:24.04 | |
| steps: | |
| - name: Install OS prereqs | |
| run: | | |
| apt-get update | |
| apt-get install -y --no-install-recommends \ | |
| ca-certificates curl git sudo \ | |
| libssl-dev libffi-dev zlib1g | |
| - name: Fix pip cache permissions | |
| run: sudo chown -R $(whoami) /github/home | |
| - uses: actions/checkout@v6 | |
| - name: Show cache layout BEFORE job 2 | |
| run: ls -la /__w/_tool/Python/ | |
| - name: Setup Python 3.11 | |
| uses: gowridurgad/setup-python@testing-1087 | |
| with: | |
| python-version: "3.11" | |
| - name: Show cache layout AFTER job 2 | |
| run: ls -la /__w/_tool/Python/ | |
| - name: Upgrade pip | |
| run: python -m pip install --upgrade pip |