Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
CrysFML
Commits
b2ff7ae3
Unverified
Commit
b2ff7ae3
authored
Jul 13, 2021
by
Simon Ward
Browse files
Who knows whats happening
parent
b5632764
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/build_variants.yml
View file @
b2ff7ae3
# 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment