Skip to content

Commit 3dbb6d6

Browse files
committed
Add build CI
1 parent 3d1785c commit 3dbb6d6

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on: push
2+
3+
jobs:
4+
build:
5+
name: Build Wheel
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up Python
11+
uses: actions/setup-python@v5
12+
with:
13+
python-version: "3.12"
14+
- name: Install pypa/build
15+
run: python3 -m pip install build --user
16+
- name: Build a binary wheel and a source tarball
17+
run: python3 -m build
18+
- name: Store the distribution packages
19+
uses: actions/upload-artifact@v4
20+
with:
21+
name: python-package-distributions
22+
path: dist/

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,3 @@ lpc = ["portio; sys_platform=='linux'", "wmi; sys_platform=='win32'"]
2727
Documentation = "https://steve-tech.github.io/CrOS_EC_Python/"
2828
Repository = "https://github.com/Steve-Tech/CrOS_EC_Python"
2929
Issues = "https://github.com/Steve-Tech/CrOS_EC_Python/issues"
30-
31-
[tool.setuptools]
32-
packages = ["cros_ec_python"]

0 commit comments

Comments
 (0)