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
29d4edda
Unverified
Commit
29d4edda
authored
Jul 13, 2021
by
Simon Ward
Browse files
Fix build
parent
0e15b47b
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/build_many_linux.yml
View file @
29d4edda
...
...
@@ -12,34 +12,25 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Setup python
uses
:
actions/setup-python@v1
with
:
python-version
:
3.8
-
name
:
Install python dependencies
run
:
|
python -m pip install --upgrade pip
python -m pip install twine
-
name
:
Build manylinux wheels
uses
:
RalfG/python-wheels-manylinux-build@v0.2.2-manylinux2010_x86_64
with
:
python-versions
:
'
cp36-cp36m
cp37-cp37m
cp38-cp38
cp310-cp310'
build-requirements
:
'
cmake'
system-packages
:
'
'
package-path
:
'
'
pip-wheel-args
:
'
-w
./dist'
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/*
create-OSX
:
path
:
${{ github.workspace }}/dist/*.whl
create-OSX
:
strategy
:
max-parallel
:
4
matrix
:
python-version
:
[
3.6
,
3.7
,
3.8
,
3.9
]
os
:
[
macos-10.15
,
macos-11.0
]
os
:
[
macos-10.15
,
macos-latest
]
exclude
:
-
os
:
macos-latest
python-version
:
'
3.6'
-
os
:
macos-latest
python-version
:
'
3.7'
runs-on
:
${{ matrix.os }}
...
...
@@ -57,12 +48,15 @@ jobs:
echo "CC=gcc-9" >> $GITHUB_ENV
-
name
:
Install cmake
run
:
pip3 install cmake
run
:
pip3 install cmake
delocate
-
name
:
Build CFML
run
:
pip wheel ./ --no-deps -w ./dist/
-
name
:
Fix Wheel
run
:
delocate-wheel -w fixed_wheels -v ./dist/*.whl
-
uses
:
actions/upload-artifact@v2
with
:
name
:
CrysFML - OSX
path
:
${{ github.workspace }}/dist/*
\ No newline at end of file
path
:
${{ github.workspace }}/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