Commit Graph

21 Commits

Author SHA1 Message Date
Junya Morioka 34d8e036bb fix: downgrade gcc-toolset from 14 to 13 for CUDA compatibility
gcc-toolset-14 (GCC 14) in manylinux_2_28 containers is incompatible
with CUDA 12.6 nvcc, causing compilation errors in type_traits headers.
Use gcc-toolset-13 instead and export CC/CXX to GITHUB_ENV to ensure
subsequent steps use the correct compiler.
2026-01-28 02:35:58 +09:00
Junya Morioka b376519e1b fix: add runner tag for Linux self-hosted runner 2026-01-18 00:29:20 +09:00
Junya Morioka 2f3b1245f7 refactor: consolidate self-hosted workflows with auto-detection
- Merge _build_manylinux_self_host.yml into _build_linux_self_host.yml
- Add automatic package manager detection (apt-get/dnf) for both x86_64 and ARM64
- Add environment check steps to all self-hosted workflows
- Update build.yml to use unified workflow with container-image parameter
- Remove duplicate build_wheels_manylinux_self_hosted job
- Update test workflows to use consolidated workflow
- Remove manylinux_self_hosted matrix configuration
- Set manylinux container image for ARM64 test workflow
2025-12-21 04:06:56 +09:00
Junya Morioka df03c553f7 refactor: extract common build steps into reusable composite action
- Create .github/actions/build-and-upload composite action for shared build logic
- Consolidate Python/uv setup, CUDA setup, wheel building, testing, and upload steps
- Update _build_linux.yml to use new composite action (reduced from 136 to 69 lines)
- Update _build_linux_arm_self_host.yml to use composite action with cleanup enabled
- Update _build_linux_self_host.yml for both container and no-container jobs
- Update _build_manylinux_self_host.yml to use composite action
- Reduce code duplication by ~200+ lines across all workflow files
2025-12-21 03:36:44 +09:00
Junya Morioka 7e97699c9e fix: add tag_name for linux build 2025-12-17 18:05:59 +09:00
Junya Morioka 7a3fe044d8 ci: fix auditwheel repair step output references
- Add step ID to auditwheel_repair for proper output tracking
- Update wheel path references to use correct step outputs
- Add patchelf dependency for ARM Linux builds
- Add explicit shell specification for manylinux workflow
2025-12-13 20:23:03 +09:00
Junya Morioka 92464a9b3b ci: refactor wheel handling and enable manylinux artifact generation
- Change wheel output to use full path instead of basename for better flexibility
- Add patchelf to build dependencies for wheel repair operations
- Enable auditwheel repair step with proper exclusions for CUDA/torch libraries
- Separate wheel path variable to track both standard and manylinux versions
- Rename manylinux workflow file to reflect its dedicated purpose
- Update workflow references to use renamed manylinux workflow
- Use fromjson() for runner parameter parsing in ARM build workflow
- Update test workflows to use container environment consistently
- Support both manylinux and standard wheel uploads to releases
2025-12-13 18:18:50 +09:00
Junya Morioka a7b3fe362e ci: refactor wheel path variables and adjust build matrix
- Replace WHEEL_NAME variables with WHEEL_PATH to store full file paths
  instead of just filenames, eliminating redundant directory concatenation
- Update all workflow references to use WHEEL_PATH directly in install
  and upload commands
- Simplify manylinux wheel handling by storing full paths in output variables
- Reduce tested versions in Linux self-hosted matrix to focus on Python 3.14
- Reduce tested versions in ARM64 self-hosted matrix to focus on Python 3.14
  and flash-attn 2.8.3
- Apply formatting standardization to Windows CodeBuild matrix
2025-12-13 17:25:23 +09:00
Junya Morioka 5d44bd8cd6 ci: refactor Python installation and enable manylinux wheel generation
- Replace actions/setup-python with uv-based Python installation
- Consolidate build dependencies into Python installation step
- Enable auditwheel repair and manylinux wheel generation across all Linux builds
- Add patchelf as build dependency for glibc compatibility
- Update Python version to 3.14 in build and test workflows
2025-12-13 17:16:05 +09:00
Junya Morioka 9ce129e222 wip: add manylinux build 2025-12-11 17:36:31 +09:00
Junya Morioka 88add986b3 ci: remove auditwheel 2025-12-11 15:06:30 +09:00
Junya Morioka 38ed47024c ci: refactor self-hosted runner configuration to use JSON format
- Convert runs-on array syntax to single runner value with fromjson()
- Update runner parameter defaults to JSON string format
- Add runner labels to build workflow calls
- Update test workflow runner configurations
- Remove unused test-utils.yml workflow
2025-12-11 03:08:03 +09:00
Junya Morioka c561145598 ci: add architecture labels to self-hosted runner configuration
- Add arm64 label to ARM64 self-hosted runner job
- Add x64 label to x86_64 self-hosted runner jobs (both container and non-container)
- Ensures runner selection by both custom runner name and architecture type
2025-12-11 02:45:25 +09:00
Junya Morioka 51ed48b6fb ci: add manylinux wheel generation and upload in Linux self-hosted build
- Add auditwheel repair step to generate manylinux-compatible wheels
- Verify manylinux wheel installation and package imports
- Upload repaired wheels to GitHub release with --clobber flag
2025-12-11 02:37:17 +09:00
Junya Morioka ab165f3f22 refactor: reorganize auditwheel repair and add manylinux platform support
- Move auditwheel repair after initial release upload with continue-on-error to allow pipeline continuation
- Add manylinux platform normalization support in normalize_platform_name()
- Expand self-hosted build matrix to include Python 3.14 and Flash Attention 2.8.3
- Improve wheel upload flow by separating regular and manylinux wheel handling
2025-12-11 02:26:39 +09:00
Junya Morioka 61052b550b feat: add auditwheel for manylinux 2025-12-11 01:56:28 +09:00
Junya Morioka 7d12c6d7e4 feat: Add ARM64 support with QEMU in self-hosted runner
- Add container-image input parameter to _build_linux_self_host workflow
- Create test-arm-self-hosted workflow for ARM64 Linux builds
- Add qemu-user-static package to self-hosted runner Dockerfile
- Enable ARM64 container builds using arm64v8/ubuntu:22.04
2025-12-10 23:54:47 +09:00
Junya Morioka f8ade8d982 feat: add non-container job 2025-12-05 02:43:03 +09:00
Junya Morioka d1715633db feat: add building for arm64 and openci runner test 2025-12-05 01:15:34 +09:00
Junya Morioka 37be4be823 fix: Added command installation 2025-12-04 19:27:27 +09:00
Junya Morioka 0bce0110f7 feat: Add new test for arm building and fix build prameters 2025-12-04 19:07:32 +09:00