Skip to content

Commit

Permalink
Okay, that should work
Browse files Browse the repository at this point in the history
  • Loading branch information
charnley committed Jan 13, 2025
1 parent 46975fe commit 3809839
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/test.macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,22 @@ jobs:
strategy:
matrix:
os: ['macos-latest']
python-version: ['3.11','3.12']
python-version: ['3.11', '3.12']

steps:
- uses: actions/checkout@v2

- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5

- run: which brew
- run: brew install gcc openblas lapack libomp
- run: ls /opt/homebrew/bin/
- run: which gfortran-14

# TODO Setup uv

- run: pip install -r ./requirements.txt
- run: FC=gfortran-14 make env_uv python_version=${{ matrix.python-version }}

- run: FC=gfortran-14 pip install . -v
- run: make test python=python
- run: make format python=python
- run: FC=gfortran-14 make build python=python
- run: make test-dist python=python
- run: make test
- run: make format
- run: FC=gfortran-14 make build
- run: make test-dist
15 changes: 4 additions & 11 deletions .github/workflows/test.ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,19 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest']
python-version: ['3.11','3.12']
python-version: ['3.11', '3.12']

steps:
- uses: actions/checkout@v2

- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5

# - uses: conda-incubator/setup-miniconda@v2
# with:
# activate-environment: dev
# environment-file: ./environment.yaml
# python-version: ${{ matrix.python-version }}

- run: sudo apt-get install -y gcc libomp-dev libopenblas-dev

- run: make env_uv python_version=${{ matrix.python-version }}

# - run: pip install . -v
- run: make test
- run: make format python=python
- run: make build python=python
- run: make test-dist python=python
- run: make format
- run: make build
- run: make test-dist

0 comments on commit 3809839

Please sign in to comment.