1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-06-24 21:25:23 +00:00

Initial WebOS CI

This commit is contained in:
Michael Hollister 2024-12-17 00:56:12 -06:00
parent 2df64dca89
commit 4f397154aa
3 changed files with 29 additions and 3 deletions

4
.gitignore vendored
View file

@ -4,4 +4,6 @@
.vscode
node_modules/
.wrangler/
.wrangler/
receivers/webos/*.ipk

View file

@ -0,0 +1,24 @@
buildWebOS:
stage: buildWebOSReceiver
image: node:current-bookworm
tags:
- fcast-instance-runner
before_script:
- cd receivers/webos
- npm install -g @webos-tools/cli
script:
- cd fcast-receiver
- npm run build
- cd ../fcast-receiver-service
- npm run build
- cd ../
- ares-package fcast-receiver/dist/ fcast-receiver-service/dist/ --no-minify
artifacts:
untracked: false
when: on_success
access: all
expire_in: "30 days"
paths:
- receivers/webos/com.futo.fcast.receiver_1.0.0_all.ipk
when: manual

View file

@ -4,8 +4,8 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
// Build issues:
// * Must use '--no-minify' when packaging since packaging would break otherwise...
// const buildMode = 'production';
const buildMode = 'development';
const buildMode = 'production';
// const buildMode = 'development';
// const TARGET = 'electron';
const TARGET = 'webOS';