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

Tweaking release builds

parent 3543b475
...@@ -51,19 +51,19 @@ jobs: ...@@ -51,19 +51,19 @@ jobs:
FC: gfortran-${{ matrix.gcc_v }} FC: gfortran-${{ matrix.gcc_v }}
CC: gcc-${{ matrix.gcc_v }} CC: gcc-${{ matrix.gcc_v }}
run: | run: |
pip3 wheel ./ --no-deps -w ./dist/ pip3 wheel ./ --no-deps -w ./old/
delocate-wheel -w fixed_wheels -v ./dist/*.whl delocate-wheel -w dist -v ./old/*.whl
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: CrysFML - ${{ matrix.os }} - Python ${{ matrix.python-version }} name: CrysFML - ${{ matrix.os }} - Python ${{ matrix.python-version }}
path: ./fixed_wheels/*.whl path: ./dist/*.whl
create-Windows: create-Windows:
strategy: strategy:
max-parallel: 4 max-parallel: 4
matrix: matrix:
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ] python-version: [ '3.6', '3.7', '3.8']
os: [ windows-latest ] os: [ windows-latest ]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
...@@ -97,3 +97,23 @@ jobs: ...@@ -97,3 +97,23 @@ jobs:
with: with:
name: CrysFML - ${{ matrix.os }} - Python ${{ matrix.python-version }} name: CrysFML - ${{ matrix.os }} - Python ${{ matrix.python-version }}
path: ./dist/*.whl path: ./dist/*.whl
Upload_Artifacts:
runs-on: ubuntu-latest
needs: [create-Linux, create-OSX, create-Windows]
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- name: Upload Artifacts GitHub releases
# if: github.event_name == 'push'
uses: ncipollo/release-action@v1
with:
draft: falase
prerelease: true
allowUpdates: true
replacesArtifacts: true
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: "./dist/*.whl"
tag: ${{ env.BRANCH_NAME }}
commit: ${{ env.BRANCH_NAME }}
bodyFile: "RELEASE.md"
\ No newline at end of file
This is a build of the CFML libraries.
\ 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