Files
Pybind-Xmake/.github/workflows/ubuntu.yml
Persson-dev 6deb58fc27
All checks were successful
Linux arm64 / Build (push) Successful in 6m36s
Add CI
Co-authored-by: Persson-dev <sim16.prib@gmail.com>
Co-committed-by: Persson-dev <sim16.prib@gmail.com>
2025-12-07 17:00:05 +00:00

45 lines
955 B
YAML

name: Linux arm64
run-name: Build And Test
on: [push]
env:
XMAKE_ROOT: y
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Prepare XMake
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu'
- name: Xmake config
run: |
sudo apt update
sudo apt install python3-dev -y
xmake f -p linux -vDy
- name: Build wheel
run: |
xrepo env python -m venv .venv
source .venv/bin/activate
pip install build
python -m build -w
- name: Install wheel
run: |
source .venv/bin/activate
pip install dist/*
- name: Test
run: |
source .venv/bin/activate
python example_add.py