mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-16 11:37:47 +01:00
fix: no make target with project (#689)
* fix: no make with project * chore: set working directory --------- Co-authored-by: hardy <luohf@infinilabs.com>
This commit is contained in:
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -66,6 +66,7 @@ jobs:
|
||||
version: latest
|
||||
|
||||
- name: Install rust target
|
||||
if: matrix.target == 'i686-pc-windows-msvc'
|
||||
run: rustup target add ${{ matrix.target }}
|
||||
|
||||
- name: Install dependencies (ubuntu only)
|
||||
@@ -105,15 +106,12 @@ jobs:
|
||||
chmod 600 ~/.ssh/known_hosts
|
||||
|
||||
- name: Pizza engine features setup
|
||||
working-directory: src-tauri
|
||||
if: matrix.target != 'i686-pc-windows-msvc'
|
||||
run: |
|
||||
if [[ ${{ matrix.target }} == "i686-pc-windows-msvc" ]]; then
|
||||
rustup target add i686-pc-windows-msvc --toolchain stable
|
||||
else
|
||||
make add-dep-pizza-engine-linux
|
||||
rustup target add ${{ matrix.target}} --toolchain nightly-2025-02-28
|
||||
fi
|
||||
|
||||
|
||||
rustup target add ${{ matrix.target }}
|
||||
(cd .. && make add-dep-pizza-engine)
|
||||
|
||||
- name: Build the app with ${{ matrix.platform }}
|
||||
uses: tauri-apps/tauri-action@v0
|
||||
if: matrix.target != 'i686-pc-windows-msvc'
|
||||
|
||||
Reference in New Issue
Block a user