Skip to content

Commit

Permalink
Fix yaml indentation?
Browse files Browse the repository at this point in the history
  • Loading branch information
pettyalex committed Feb 29, 2024
1 parent a369b48 commit e863743
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/build_python_wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-14 ]

steps:
- uses: actions/checkout@v4

- name: Set up QEMU for aarch64 emulation
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Create sdist and unpack into ./sdist/Pgenlib-latest
working-directory: ./2.0/Python
run: |
pipx run build --sdist
mkdir sdist
tar -xf ./dist/Pgenlib-*.tar.gz -C ./sdist
mv ./sdist/* Pgenlib-latest/
- name: Build wheels
uses: pypa/[email protected]
with:
package-dir: ./2.0/Python/sdist/Pgenlib-latest
env:
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_ARCHS_MACOS: x86_64 aarch64

- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
- uses: actions/checkout@v4

- name: Set up QEMU for aarch64 emulation
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Create sdist and unpack into ./sdist/Pgenlib-latest
working-directory: ./2.0/Python
run: |
pipx run build --sdist
mkdir sdist
tar -xf ./dist/Pgenlib-*.tar.gz -C ./sdist
mv ./sdist/* Pgenlib-latest/
- name: Build wheels
uses: pypa/[email protected]
with:
package-dir: ./2.0/Python/sdist/Pgenlib-latest
env:
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_ARCHS_MACOS: x86_64 aarch64

- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
14 changes: 7 additions & 7 deletions .github/workflows/check_build_macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
os: [ macos-14 ]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
- uses: actions/setup-python@v5

- name: Run build
working-directory: ./2.0/Python
run: |
"${{ steps.python.outputs.python-path }}" -m pip install pipx
pipx run build
- name: Run build
working-directory: ./2.0/Python
run: |
"${{ steps.python.outputs.python-path }}" -m pip install pipx
pipx run build

0 comments on commit e863743

Please sign in to comment.