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:
parent
2df64dca89
commit
4f397154aa
3 changed files with 29 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -4,4 +4,6 @@
|
||||||
.vscode
|
.vscode
|
||||||
|
|
||||||
node_modules/
|
node_modules/
|
||||||
.wrangler/
|
.wrangler/
|
||||||
|
|
||||||
|
receivers/webos/*.ipk
|
||||||
|
|
24
receivers/webos/.gitlab-ci.yml
Normal file
24
receivers/webos/.gitlab-ci.yml
Normal 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
|
|
@ -4,8 +4,8 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
|
||||||
|
|
||||||
// Build issues:
|
// Build issues:
|
||||||
// * Must use '--no-minify' when packaging since packaging would break otherwise...
|
// * Must use '--no-minify' when packaging since packaging would break otherwise...
|
||||||
// const buildMode = 'production';
|
const buildMode = 'production';
|
||||||
const buildMode = 'development';
|
// const buildMode = 'development';
|
||||||
|
|
||||||
// const TARGET = 'electron';
|
// const TARGET = 'electron';
|
||||||
const TARGET = 'webOS';
|
const TARGET = 'webOS';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue