Skip to content

Commit

Permalink
matrix of runs-on
Browse files Browse the repository at this point in the history
  • Loading branch information
ev-br committed Jun 18, 2024
1 parent ee0bac6 commit d208229
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/run_cirun_graviton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -22,15 +19,15 @@ env:
MACHINE_NAME: cirun-aws-runner-graviton # to identify github actions machine as hostname changes everytime

jobs:
build:
if: "github.repository == 'OpenMathLib/BLAS-Benchmarks'"
runs-on: "cirun-aws-runner-graviton--${{ github.run_id }}"
bench:
#if: "github.repository == 'OpenMathLib/BLAS-Benchmarks'"
#runs-on: "cirun-aws-runner-graviton--${{ github.run_id }}"

strategy:
fail-fast: false
matrix:
fortran: [gfortran]
build: [make]
runs-on: ["cirun-aws-runner-graviton--${{ github.run_id }}"]


steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -58,20 +55,15 @@ jobs:
- name: Install python dependencies
run: |
# --break-system-packages is required on ubuntu noble
pip3 install "numpy<2" meson meson-python ninja build asv virtualenv --break-system-packages
# pip3 install scipy_openblas32
# install the nightly OpenBLAS wheel
pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple scipy-openblas32 --break-system-packages
python3 -c'import scipy_openblas32 as so; print(so.get_pkg_config())' > scipy_openblas.pc
export PKG_CONFIG_PATH=$PWD
echo ">>>> PKG_CONFIG" $PKG_CONFIG_PATH
cat scipy_openblas.pc
echo ">>> mesonpy"
python3 -c'import mesonpy; print(mesonpy.__file__)'
echo $PATH
echo $PYTHONPATH
- name: Set and log asv machine configuration
run: |
python3 -m asv machine --yes --config asv.conf.json
Expand Down

0 comments on commit d208229

Please sign in to comment.