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

DO NOT MERGE: Support linux aarch64 #851

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
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.

48 changes: 24 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,26 @@ 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
# - 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
Loading