Unverified Commit 6e1b66ce authored by Simon Ward's avatar Simon Ward
Browse files

Disable WIN as it sucks

parent dfe310b3
......@@ -6,91 +6,91 @@ on:
branches: [ simon ]
jobs:
# create-Linux:
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v2
#
# - name: Build manylinux wheels
# run: docker run -e PLAT=manylinux2010_x86_64 -v `pwd`:/io quay.io/pypa/manylinux2010_x86_64 /io/buildscript.sh
#
# - uses: actions/upload-artifact@v2
# with:
# name: CrysFML - Linux
# path: ${{ github.workspace }}/dist/*.whl
#
# create-OSX:
# strategy:
# max-parallel: 4
# matrix:
# python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
# os: [macos-10.15, macos-11.0]
# gcc_v: [ 10 ] # Version of GFortran we want to use.
# exclude:
# - os: macos-10.15
# python-version: '3.6'
# - os: macos-11.0
# python-version: '3.6'
# - os: macos-11.0
# python-version: '3.7'
#
# 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 delocate wheel
#
# - name: Build CFML (OSX)
# env:
# FC: gfortran-${{ matrix.gcc_v }}
# CC: gcc-${{ matrix.gcc_v }}
# run: |
# pip3 wheel ./ --no-deps -w ./dist/
# delocate-wheel -w fixed_wheels -v ./dist/*.whl
#
# - uses: actions/upload-artifact@v2
# with:
# name: CrysFML - ${{ matrix.os }} - Python ${{ matrix.python-version }}
# path: ./fixed_wheels/*.whl
create-Linux:
runs-on: ubuntu-latest
create-Windows:
steps:
- uses: actions/checkout@v2
- name: Build manylinux wheels
run: docker run -e PLAT=manylinux2010_x86_64 -v `pwd`:/io quay.io/pypa/manylinux2010_x86_64 /io/buildscript.sh
- uses: actions/upload-artifact@v2
with:
name: CrysFML - Linux
path: ${{ github.workspace }}/dist/*.whl
create-OSX:
strategy:
max-parallel: 1
max-parallel: 4
matrix:
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
os: [ windows-latest ]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
os: [macos-10.15, macos-11.0]
gcc_v: [ 10 ] # Version of GFortran we want to use.
exclude:
- os: macos-10.15
python-version: '3.6'
- os: macos-11.0
python-version: '3.6'
- os: macos-11.0
python-version: '3.7'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{matrix.python-version}}
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{matrix.python-version}}
- name: Install cmake
run: pip install cmake wheel
- name: Install cmake
run: pip3 install cmake delocate wheel
- name: Install Fotran
run: |
choco install mingw -y
echo 'C:\\ProgramData\\chocolatey\\bin' >> $GITHUB_PATH
- name: Build CFML (OSX)
env:
FC: gfortran-${{ matrix.gcc_v }}
CC: gcc-${{ matrix.gcc_v }}
run: |
pip3 wheel ./ --no-deps -w ./dist/
delocate-wheel -w fixed_wheels -v ./dist/*.whl
- name: Build CFML (Windows)
run: pip wheel ./ --no-deps -w ./dist/
env:
FC: gfortran.exe
- uses: actions/upload-artifact@v2
with:
name: CrysFML - ${{ matrix.os }} - Python ${{ matrix.python-version }}
path: ./fixed_wheels/*.whl
# create-Windows:
# strategy:
# max-parallel: 1
# 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: pip install cmake wheel
#
# - name: Install Fotran
# run: |
# choco install mingw -y
# echo 'C:\\ProgramData\\chocolatey\\bin' >> $GITHUB_PATH
#
# - name: Build CFML (Windows)
# run: pip wheel ./ --no-deps -w ./dist/
# env:
# FC: gfortran.exe
#
# - uses: actions/upload-artifact@v2
# with:
# name: CrysFML - ${{ matrix.os }} - Python ${{ matrix.python-version }}
......
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