Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wheels: 0.14.5 #1286

Merged
merged 2 commits into from
Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- uses: actions/checkout@v2
with:
path: 'src'
ref: '0.14.4'
ref: '0.14.5'

- uses: actions/checkout@v2
with:
Expand All @@ -92,18 +92,18 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
python -m pip install cibuildwheel==2.2.2

# - name: Download Patch 1/1
# uses: suisei-cn/actions-download-file@v1
# id: setupversion
# with:
# url: "https://gist.githubusercontent.com/ax3l/4db2f1744e0e28e6c013ee4e752b3cb7/raw/324bdb60894d51608a48890573654e10e1b1c3a0/setupversion.patch"
# target: src/.patch/

# - name: Apply Patch
# run: |
# python -m pip install "patch==1.*"
# cd src
# python -m patch .patch/setupversion.patch
- name: Download Patch 1/1
uses: suisei-cn/actions-download-file@v1
id: setupversion
with:
url: "https://github.com/ax3l/openPMD-api/commit/dfd65f23af7f907851d44ceb9e3aebdd05b4045f.patch"
target: src/.patch/

- name: Apply Patch
run: |
python -m pip install "patch==1.*"
cd src
python -m patch .patch/dfd65f23af7f907851d44ceb9e3aebdd05b4045f.patch

- name: Build wheel
env:
Expand Down
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ branches:

env:
global:
- OPENPMD_GIT_REF="0.14.4"
- OPENPMD_GIT_REF="0.14.5"

- CIBW_PROJECT_REQUIRES_PYTHON=">=3.6"
# Install dependencies on Linux and OSX
Expand Down Expand Up @@ -134,13 +134,13 @@ install:
- python3 -m pip install "patch==1.*"

# Download & Apply Patches
#before_script:
# - mkdir -p src/.patch
# - cd src/.patch
# - curl -sOL https://gist.githubusercontent.com/ax3l/4db2f1744e0e28e6c013ee4e752b3cb7/raw/324bdb60894d51608a48890573654e10e1b1c3a0/setupversion.patch
# - cd ..
# - python3 -m patch .patch/setupversion.patch
# - cd ..
before_script:
- mkdir -p src/.patch
- cd src/.patch
- curl -sOL https://github.com/ax3l/openPMD-api/commit/dfd65f23af7f907851d44ceb9e3aebdd05b4045f.patch
- cd ..
- python3 -m patch .patch/dfd65f23af7f907851d44ceb9e3aebdd05b4045f.patch
- cd ..

script:
- cd src
Expand Down