Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2025-02-18 09:41:45 +00:00
parent beb9b2671b
commit 2b88c345a7
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D

View File

@ -50,7 +50,6 @@ jobs:
- linux - linux
- windows - windows
strategy: strategy:
fail-fast: false
matrix: matrix:
include: include:
- name: macOS Universal - name: macOS Universal
@ -83,43 +82,14 @@ jobs:
artifact: linux-arm64-sqlcipher-static artifact: linux-arm64-sqlcipher-static
executable: "/opt/Element/element-desktop" executable: "/opt/Element/element-desktop"
prepare_cmd: "sudo apt-get -qq update && sudo apt install -y ./dist/*.deb" prepare_cmd: "sudo apt-get -qq update && sudo apt install -y ./dist/*.deb"
- name: Windows (x86) Squirrel - name: Windows (x86)
os: windows-2022 os: windows-2022
artifact: win-ia32 artifact: win-ia32
executable: "$LOCALAPPDATA/element-desktop/app-1.11.91/Element.exe" executable: "./dist/win-ia32-unpacked/Element.exe"
prepare_cmd: | - name: Windows (x64)
& "./dist/squirrel-windows-ia32/Element Setup*.exe" --silent
Start-Sleep -Seconds 60
- name: Windows (x86) MSI
os: windows-2022
artifact: win-ia32
# We avoid installing to Program Files as then we lack privileges to modify fuses for Playwright testing
executable: "$RUNNER_TEMP/Element/Element.exe"
prepare_cmd: |
$file = Get-Item ./dist/*.msi | Select -First 1 -ExpandProperty FullName
Start-Process $file -ArgumentList "/quiet" -Wait
- name: Windows (x64) Squirrel
os: windows-2022 os: windows-2022
artifact: win-x64 artifact: win-x64
executable: "$LOCALAPPDATA/element-desktop/app-1.11.91/Element.exe" executable: "./dist/win-unpacked/Element.exe"
prepare_cmd: |
& "./dist/squirrel-windows/Element Setup*.exe" --silent
Start-Sleep -Seconds 60
ls $env:LOCALAPPDATA
ls $env:LOCALAPPDATA/element-desktop
- name: Windows (x64) MSI
os: windows-2022
artifact: win-x64
# We avoid installing to Program Files as then we lack privileges to modify fuses for Playwright testing
executable: "$RUNNER_TEMP/Element/Element.exe"
prepare_cmd: |
$file = Get-Item ./dist/*.msi | Select -First 1 -ExpandProperty FullName
echo $file
Start-Process $file -ArgumentList "/quiet APPLICATIONFOLDER=$env:RUNNER_TEMP/Element" -Wait
ls $env:RUNNER_TEMP
Start-Sleep -Seconds 60
ls $env:RUNNER_TEMP
ls $env:RUNNER_TEMP/Element
name: Test ${{ matrix.name }} name: Test ${{ matrix.name }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps: