Ensuring all setups run on 3.10.6 #4
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: Machine Setup Testing | |
on: | |
push: | |
branches: | |
- "setup-action" | |
jobs: | |
setup_apple_silicon: | |
runs-on: macos-13 # M1 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.10.6 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10.6' | |
- name: Upgrade pip | |
run: pip install --upgrade pip | |
- name: Install dependencies for Apple Silicon machine | |
run: | | |
pip install -r ./specs/releases/apple_silicon.txt | |
setup_apple_intel: | |
runs-on: macos-12 # Latest intel | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.10.6 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10.6' | |
- name: Upgrade pip | |
run: pip install --upgrade pip | |
- name: Install dependencies for Apple Intel machine | |
run: | | |
pip install -r ./specs/releases/apple_intel.txt | |
setup_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.10.6 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10.6' | |
- name: Upgrade pip | |
run: pip install --upgrade pip | |
- name: Install dependencies for Linux machine | |
run: | | |
pip install -r ./specs/releases/linux.txt |