Skip to content

Commit

Permalink
DO NOT MERGE: Support linux aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Jan 10, 2025
1 parent 0d6bc3f commit 55c67c9
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 600 deletions.
87 changes: 0 additions & 87 deletions .github/workflows/codeql.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/github-issue-labeler.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/github-pages.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/js-docs-builder.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/js-publish.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/js-test.yml

This file was deleted.

50 changes: 26 additions & 24 deletions .github/workflows/python-build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ jobs:
strategy:
matrix:
platform:
# - runner: ubuntu-latest
# target: x86_64
- runner: ubuntu-latest
target: x86_64
- runner: windows-latest
target: x64
- runner: macos-14
target: aarch64
# - runner: windows-latest
# target: x64
# - runner: macos-14
# target: aarch64
steps:
- uses: actions/checkout@v4
- name: Setup Python
Expand Down Expand Up @@ -78,28 +80,28 @@ jobs:
- run: python3 ./python/scripts/run_quick_test_magika_cli.py
- run: python3 ./python/scripts/run_quick_test_magika_module.py
- name: Upload wheels
if: github.event_name != 'pull_request'
# if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.platform.runner }}-${{ matrix.platform.target }}
path: dist

sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# TODO(https://github.com/PyO3/maturin/issues/2244): Remove when released.
- run: rm rust/cli/README.md
- run: python3 ./python/scripts/fix_package_version.py
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out=../dist
working-directory: python
- name: Upload sdist
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
with:
name: wheels-sdist
path: dist
# sdist:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# # TODO(https://github.com/PyO3/maturin/issues/2244): Remove when released.
# - run: rm rust/cli/README.md
# - run: python3 ./python/scripts/fix_package_version.py
# - name: Build sdist
# uses: PyO3/maturin-action@v1
# with:
# command: sdist
# args: --out=../dist
# working-directory: python
# - name: Upload sdist
# if: github.event_name != 'pull_request'
# uses: actions/upload-artifact@v4
# with:
# name: wheels-sdist
# path: dist
57 changes: 0 additions & 57 deletions .github/workflows/python-test-published-package.yml

This file was deleted.

Loading

0 comments on commit 55c67c9

Please sign in to comment.