Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy workflow for building wheel files to master branch #78

Closed
wants to merge 43 commits into from

Conversation

holm10
Copy link
Collaborator

@holm10 holm10 commented Mar 21, 2024

Also makes fniycbo switch isfniycbozero index-dependent

holm10 and others added 30 commits March 8, 2024 16:06
Separates auxillary scripts from source

Single-sources the package version

UEDGE version set based on file src/uedge/VERSION

Simplifies __init__

Removes obsolete README.in entries

Tries to fix workflow build

Fixes wheel build to compile on OSX13

- ncl had to be included: not sure if it is needed/used
- build has to be downgraded: pip install 'build<0.10.0'

Initial add of automated wheel buil

Updates pip before UEDGE install on build wheel action

Downgrades setuptools requirement for automated wheel build

Attempts to fix wheel buil

Builds wheel without cibuildwheel

Fixes typo

Installs build on ci

Tries to fix build

Tries to build on ubuntu-latest only

Matrixes tests

Matrixes tests

Bugixes to matrixed run

Fixes fail-fast location

Tries to build wheels for matrixed python versions

Tries MacOSX wheel builds

- Removes deprecated Python builds

Bugfix: syntax error

Switch gcc install

Try brew installing gfortran

Install gfortran without cask

Gets gcc version

Tries gathering all wheels

Tries gathering all wheels

Fixes gathering of wheels

All artefacts in one place

Gathers files to merged dir

Gathers files to merged dir

Action echos Fortran compilers

Installs commandlinetools

Bugfix to action yaml

Symlinks gfortran to allow compilers to run

Runs all OSs in one matrixed job

Removes macos-14 from action workflow

Removes macos-14 from action workflow

Tries to fix common artifact upload

Testing macos-14 builds

Outputs gfortran path

Removes action condition

Removes action condition

Whiches right command

Fixes conditional

Splits jobs for arm builds

Splits jobs for arm builds

Fixes forgotten conditional

Fixes broken reference

Fixes runners

Tries inline delocation

Combines all actions into a workflow

Fixes name

Fixes setup-python and ubuntu runs

Re-wxplor cibuildwheel

Try mac build using ciwheel

Simplify build

Fixes syntax

Fixes pip syntax

Adds macos-14 to cibuildwheel

Fixes typo

Fixes yet another typo

Parallelizes python version

Adds PyPy and cross-platform builds

Only runs auto ARCH

Makes Artifacts unique, adds PyPy cross wheels

Tries to omit unsupported macos-14

Removes cross-platform-builds (SLOW!)

Makes wheels conditional to pulls

Attempt output github.action

Fixes syntax
Introduces pyproject.toml, adds wheel build jobs to workflow, makes isfniycbozero more flexible
- Fixes fix for build if setuptools not installed/available
  - Happens on some clusters
- Now saves the last continuation solver save as <savedir>/ SUCESS.hdf5 rather than SUCCESS_<savedir>.hdf5
This fails if https is not available, preventing UEDGE from running.
This makes the version check more resilient:

- Wrap the whole thing in a try...except, printing the error message
- Remove the fallback to python2 urllib, as python2 is not supported
- Tidy up, removing conditional branches that are not used.
Make Checkver more resilient to failures
- Fixes unintended change of delta without evaluating dt run
holm10 added 13 commits July 10, 2024 14:48
- Numpy 2.0 breaks Forthon
- These workflow & pyproject.toml files forces numpy<2.0 until fix for Forthon is found
- Version has reached end-of-life, discontinuing support
- As they do not relate to code execution
- Decouples version and test/builds from master branch
- Using the option requires modifying the local .gitconfig:
  - git config --global merge.ours.driver true
  - Procedure documented here: https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#_merge_strategies
[skip actions]
@holm10 holm10 closed this Jul 13, 2024
@holm10
Copy link
Collaborator Author

holm10 commented Jul 13, 2024

Obsolete due to merge from dedicated branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants