Skip to content

Commit

Permalink
test linux vendored
Browse files Browse the repository at this point in the history
  • Loading branch information
Isotr0py committed Sep 30, 2023
1 parent a264de4 commit e68a52e
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,49 +75,49 @@ jobs:
name: wheels
path: dist

# windows:
# runs-on: windows-latest
# timeout-minutes: 60
# strategy:
# matrix:
# target: [x64]
# steps:
# - name: Install dependencys
# uses: msys2/setup-msys2@v2
# with:
# update: true
# install: >-
# mingw-w64-x86_64-toolchain
# mingw-w64-x86_64-libjxl
windows:
runs-on: windows-latest
timeout-minutes: 60
strategy:
matrix:
target: [x64]
steps:
- name: Install dependencys
uses: msys2/setup-msys2@v2
with:
update: true
install: >-
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-libjxl
# - name: Put MSYS2_MinGW64 on PATH
# # there is not yet an environment variable for this path from msys2/setup-msys2
# run: echo "${{ runner.temp }}/msys64/mingw64/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Put MSYS2_MinGW64 on PATH
# there is not yet an environment variable for this path from msys2/setup-msys2
run: echo "${{ runner.temp }}/msys64/mingw64/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append

# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: '3.10'
# architecture: ${{ matrix.target }}
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: ${{ matrix.target }}

# - name: Build wheels
# uses: PyO3/maturin-action@v1
# with:
# rust-toolchain: stable-x86_64-pc-windows-gnu
# target: x86_64-pc-windows-gnu
# args: --release --out wheels --find-interpreter --all-features
# sccache: 'true'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
rust-toolchain: stable-x86_64-pc-windows-gnu
target: x86_64-pc-windows-gnu
args: --release --out wheels --find-interpreter --all-features
sccache: 'true'

# - name: Fix wheels with delvewheel
# run: |
# pip install delvewheel
# Get-ChildItem ${{ github.workspace }}/wheels/*win_amd64.whl | ForEach-Object -Process {delvewheel repair $PSItem -w dist}
- name: Fix wheels with delvewheel
run: |
pip install delvewheel
Get-ChildItem ${{ github.workspace }}/wheels/*win_amd64.whl | ForEach-Object -Process {delvewheel repair $PSItem -w dist}
# - name: Upload wheels
# uses: actions/upload-artifact@v3
# with:
# name: wheels
# path: dist
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

sdist:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e68a52e

Please sign in to comment.