Compare commits
5 Commits
feature/in
...
0.3.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 4870bd3bfe | |||
| 5798d87993 | |||
| 27feeed8bf | |||
| 96178c1438 | |||
| 021e95b04f |
@@ -1,9 +1,9 @@
|
|||||||
name: Release
|
name: Tag Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "[0-9]*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -61,8 +61,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if command -v apt-get >/dev/null 2>&1; then
|
if command -v apt-get >/dev/null 2>&1; then
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y python3.12 python3.12-venv python3-pip patchelf ccache || \
|
apt-get install -y python3.12 python3.12-venv python3-pip patchelf ccache zip || \
|
||||||
apt-get install -y python3 python3-pip python3-venv patchelf ccache
|
apt-get install -y python3 python3-pip python3-venv patchelf ccache zip
|
||||||
elif command -v dnf >/dev/null 2>&1; then
|
elif command -v dnf >/dev/null 2>&1; then
|
||||||
dnf install -y python3 python3-pip python3-devel patchelf ccache
|
dnf install -y python3 python3-pip python3-devel patchelf ccache
|
||||||
elif command -v yum >/dev/null 2>&1; then
|
elif command -v yum >/dev/null 2>&1; then
|
||||||
@@ -131,6 +131,16 @@ jobs:
|
|||||||
|
|
||||||
dpkg-deb --build "${deb_dir}" "${out_dir}/${pkg_name}_${deb_version}_${arch}.deb"
|
dpkg-deb --build "${deb_dir}" "${out_dir}/${pkg_name}_${deb_version}_${arch}.deb"
|
||||||
|
|
||||||
|
- name: Create release zip with binary and deb
|
||||||
|
run: |
|
||||||
|
cd dist
|
||||||
|
deb_version="${{ steps.version.outputs.deb_version }}"
|
||||||
|
zip_name="tai-${deb_version}-linux-amd64.zip"
|
||||||
|
zip "${zip_name}" \
|
||||||
|
tai \
|
||||||
|
"tai_${deb_version}_amd64.deb"
|
||||||
|
cd ..
|
||||||
|
|
||||||
- name: Upload binary artifact
|
- name: Upload binary artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@@ -146,3 +156,11 @@ jobs:
|
|||||||
path: dist/tai_${{ steps.version.outputs.deb_version }}_amd64.deb
|
path: dist/tai_${{ steps.version.outputs.deb_version }}_amd64.deb
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 90
|
retention-days: 90
|
||||||
|
|
||||||
|
- name: Upload combined release zip
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: tai-release-${{ steps.version.outputs.tag }}
|
||||||
|
path: dist/tai-${{ steps.version.outputs.deb_version }}-linux-amd64.zip
|
||||||
|
if-no-files-found: error
|
||||||
|
retention-days: 90
|
||||||
15
requirements.txt
Normal file
15
requirements.txt
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Core dependencies
|
||||||
|
typer>=0.12,<1.0
|
||||||
|
rich>=13.7,<14.0
|
||||||
|
asyncssh>=2.14,<3.0
|
||||||
|
openai>=1.30,<2.0
|
||||||
|
|
||||||
|
# Development dependencies
|
||||||
|
pytest>=8.2,<9.0
|
||||||
|
ruff>=0.5,<1.0
|
||||||
|
mypy>=1.10,<2.0
|
||||||
|
mdformat>=0.7,<1.0
|
||||||
|
yamllint>=1.35,<2.0
|
||||||
|
|
||||||
|
# Build dependencies
|
||||||
|
nuitka>=2.4,<3.0
|
||||||
Reference in New Issue
Block a user