Set archspec compiler flags for NVHPC (#491) #582
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: Python 3 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
if [ "${{ matrix.python-version }}" = "3.5" ]; then | |
python -m pip install --upgrade "pip < 21.0" | |
else | |
python -m pip install --upgrade pip | |
fi | |
pip install six archspec packaging | |
shell: bash | |
- name: Run unit tests | |
run: bash ./runtests.sh |