Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwi committed Nov 17, 2024
1 parent 7384e74 commit 19bf02a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -48,10 +53,30 @@ jobs:
echo "Checking build output:"
dir ./src-tauri/target/release
- name: Venv init
run: |
cd ./src-tauri
python -m venv .venv
dir .venv
dir .venv/bin
pip install -U pip maturin
pip freeze
- name: maturin build
run: |
cd ./src-tauri
maturin build --release
dir ./target/wheels
- name: Copy wheels
run: |
copy "./src-tauri/target/*.whl" "./src-tauri/target/release"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: kiwi
path: |
./src-tauri/target/release/*.exe
./src-tauri/target/release/*.dll
./src-tauri/target/release/*.whl

0 comments on commit 19bf02a

Please sign in to comment.