This commit is contained in:
Pierre Jacquier
2024-07-12 07:11:16 -04:00
parent dd3d604924
commit c7c747a109

View File

@ -284,10 +284,8 @@ jobs:
with:
workspaces: './src/wasm-lib'
- name: Install arm target
run: |
rustup target add aarch64-pc-windows-msvc
rustup target list
- name: Install aarch64 target
run: rustup target add aarch64-pc-windows-msvc
- name: Run build:wasm manually
shell: bash
@ -332,7 +330,7 @@ jobs:
smksp_cert_sync.exe
shell: cmd
- name: Build the app (debug) x86_64
- name: Build the app (debug) for x86_64
if: ${{ env.BUILD_RELEASE == 'false' }}
run: "yarn run tauri build --debug"
@ -350,13 +348,13 @@ jobs:
- name: Build the app (debug) for aarch64
if: ${{ env.BUILD_RELEASE == 'false' }}
# .msi bundles aren't supported by tauri on aarch64
run: yarn run tauri build --debug --target aarch64-pc-windows-msvc --bundles
run: yarn run tauri build --debug --target aarch64-pc-windows-msvc --no-bundle
- uses: actions/upload-artifact@v3
if: ${{ env.BUILD_RELEASE == 'false' }}
name: aarch64-pc-windows-msvc
with:
path: src-tauri/target/aarch64-pc-windows-msvc/debug/Zoo Modeling App.exe
name: artifact-aarch64-windows
path: src-tauri/target/aarch64-pc-windows-msvc/*/*
- name: Run e2e tests
if: ${{ github.event_name != 'release' && github.event_name != 'schedule' }}