Unverified Commit b2ff7ae3 authored by Simon Ward's avatar Simon Ward
Browse files

Who knows whats happening

parent b5632764
# Adapted from https://github.com/RalfG/python-wheels-manylinux-build/blob/master/full_workflow_example.yml
name: Build and (soon Publish Linux Python packages)
name: Build CFML wheels on various systems
on:
push:
......@@ -59,33 +59,35 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: CrysFML - ${{ matrix.os }} - Python ${{ matrix.python-version }}
path: ./fixed/*.whl
# create-Windows:
# strategy:
# max-parallel: 4
# matrix:
# python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
# os: [ windows-latest ]
#
# runs-on: ${{ matrix.os }}
#
# steps:
# - uses: actions/checkout@v2
#
# - name: Setup python
# uses: actions/setup-python@v1
# with:
# python-version: ${{matrix.python-version}}
#
# - name: Install cmake
# run: pip3 install cmake wheel
#
# - name: Build CFML (Windows)
# if: contains(matrix.os, 'windows')
# run: pip3 wheel ./ --no-deps -w ./dist/
#
# - uses: actions/upload-artifact@v2
# with:
# name: CrysFML - ${{ matrix.os }} - Python ${{ matrix.python-version }}
# path: ./dist/*.whl
\ No newline at end of file
path: ./fixed_wheels/*.whl
create-Windows:
strategy:
max-parallel: 4
matrix:
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
os: [ windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{matrix.python-version}}
- name: Install cmake
run: pip3 install cmake wheel
- name: Install Fotran
run: choco install mingw -y
- name: Build CFML (Windows)
run: pip3 wheel ./ --no-deps -w ./dist/
- uses: actions/upload-artifact@v2
with:
name: CrysFML - ${{ matrix.os }} - Python ${{ matrix.python-version }}
path: ./dist/*.whl
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment