mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-07-22 16:07:00 +00:00
Gitlab CI Testing
This commit is contained in:
parent
e75f644f1c
commit
da887ed498
1 changed files with 9 additions and 2 deletions
|
@ -13,14 +13,20 @@ buildMac:
|
||||||
when: manual
|
when: manual
|
||||||
|
|
||||||
buildWindowsAndLinux:
|
buildWindowsAndLinux:
|
||||||
image: node:latest
|
image: node:22.10.0-bookworm
|
||||||
stage: buildAndDeployElectron
|
stage: buildAndDeployElectron
|
||||||
tags:
|
tags:
|
||||||
- fcast
|
- fcast
|
||||||
before_script:
|
before_script:
|
||||||
- cd receivers/electron
|
- cd receivers/electron
|
||||||
- dpkg --add-architecture i386
|
- dpkg --add-architecture i386
|
||||||
- apt update && apt install -y zip dpkg fakeroot rpm wine64 wine32:i386 mono-devel wget unzip
|
- apt update && apt install -y zip dpkg fakeroot rpm wget unzip
|
||||||
|
- mkdir -pm755 /etc/apt/keyrings
|
||||||
|
- wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
|
||||||
|
- wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
|
||||||
|
- apt update && apt install -y --install-recommends winehq-staging mono-devel
|
||||||
|
|
||||||
|
# - apt update && apt install -y zip dpkg fakeroot rpm wine64 wine32:i386 mono-devel wget unzip
|
||||||
# - ln -s /usr/bin/wine /usr/bin/wine64
|
# - ln -s /usr/bin/wine /usr/bin/wine64
|
||||||
# - wget https://github.com/PietJankbal/Chocolatey-for-wine/releases/download/v0.5a.745/Chocolatey-for-wine.7z
|
# - wget https://github.com/PietJankbal/Chocolatey-for-wine/releases/download/v0.5a.745/Chocolatey-for-wine.7z
|
||||||
# - 7za x Chocolatey-for-wine.7z
|
# - 7za x Chocolatey-for-wine.7z
|
||||||
|
@ -36,6 +42,7 @@ buildWindowsAndLinux:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
- npm run make -- --platform="win32" --arch="x64"
|
- npm run make -- --platform="win32" --arch="x64"
|
||||||
|
|
||||||
# - npm run make -- --platform="linux" --arch="x64"
|
# - npm run make -- --platform="linux" --arch="x64"
|
||||||
# - npm run make -- --platform="linux" --arch="arm64"
|
# - npm run make -- --platform="linux" --arch="arm64"
|
||||||
when: manual
|
when: manual
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue