forked from CringeStudios/element-desktop
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
4b80d90f04
commit
21084af22f
18
.github/workflows/build_and_test.yaml
vendored
18
.github/workflows/build_and_test.yaml
vendored
@ -86,29 +86,31 @@ jobs:
|
|||||||
- name: Windows (x86) Squirrel
|
- name: Windows (x86) Squirrel
|
||||||
os: windows-2022
|
os: windows-2022
|
||||||
artifact: win-ia32
|
artifact: win-ia32
|
||||||
executable: "$LOCALAPPDATA/element-desktop/Element.exe"
|
executable: "$LOCALAPPDATA/element-desktop/app-*/Element.exe"
|
||||||
prepare_cmd: '. "./dist/squirrel-windows*/Element Setup*.exe"; Start-Sleep -Seconds 30'
|
prepare_cmd: |
|
||||||
|
. "./dist/squirrel-windows*/Element Setup*.exe"
|
||||||
|
Start-Sleep -Seconds 30
|
||||||
- name: Windows (x86) MSI
|
- name: Windows (x86) MSI
|
||||||
os: windows-2022
|
os: windows-2022
|
||||||
artifact: win-ia32
|
artifact: win-ia32
|
||||||
executable: "C:/Program Files (x86)/Element/Element.exe"
|
executable: "C:/Program Files (x86)/Element/Element.exe"
|
||||||
prepare_cmd: |
|
prepare_cmd: |
|
||||||
$file = Get-Item ./dist/*.msi | Select -First 1 -ExpandProperty FullName
|
$file = Get-Item ./dist/*.msi | Select -First 1 -ExpandProperty FullName
|
||||||
$procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru
|
Start-Process $file -ArgumentList '/quiet' -Wait
|
||||||
$procMain.WaitForExit()
|
|
||||||
- name: Windows (x64) Squirrel
|
- name: Windows (x64) Squirrel
|
||||||
os: windows-2022
|
os: windows-2022
|
||||||
artifact: win-x64
|
artifact: win-x64
|
||||||
executable: "$LOCALAPPDATA/element-desktop/Element.exe"
|
executable: "$LOCALAPPDATA/element-desktop/app-*/Element.exe"
|
||||||
prepare_cmd: '. "./dist/squirrel-windows*/Element Setup*.exe"; Wait-Process -Name setup'
|
prepare_cmd: |
|
||||||
|
. "./dist/squirrel-windows*/Element Setup*.exe"
|
||||||
|
Start-Sleep -Seconds 30
|
||||||
- name: Windows (x64) MSI
|
- name: Windows (x64) MSI
|
||||||
os: windows-2022
|
os: windows-2022
|
||||||
artifact: win-x64
|
artifact: win-x64
|
||||||
executable: "C:/Program Files/Element/Element.exe"
|
executable: "C:/Program Files/Element/Element.exe"
|
||||||
prepare_cmd: |
|
prepare_cmd: |
|
||||||
$file = Get-Item ./dist/*.msi | Select -First 1 -ExpandProperty FullName
|
$file = Get-Item ./dist/*.msi | Select -First 1 -ExpandProperty FullName
|
||||||
$procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru
|
Start-Process $file -ArgumentList '/quiet' -Wait
|
||||||
$procMain.WaitForExit()
|
|
||||||
name: Test ${{ matrix.name }}
|
name: Test ${{ matrix.name }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user