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