Skip to content
Snippets Groups Projects
Commit 325cede6 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add Linux group.

parent a2b46e50
Branches
Tags
1 merge request!455Update branch with changes from master
...@@ -15,6 +15,8 @@ spec: ...@@ -15,6 +15,8 @@ spec:
default: 'no' default: 'no'
has_curses: has_curses:
default: 'yes' default: 'yes'
has_gtk:
default: 'no'
--- ---
".$[[ inputs.os ]]": ".$[[ inputs.os ]]":
...@@ -459,6 +461,101 @@ spec: ...@@ -459,6 +461,101 @@ spec:
needs: needs:
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [xpdev]" - job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [xpdev]"
"$[[ inputs.os ]]-$[[ inputs.platform ]] [gtkchat]":
extends:
- .$[[ inputs.os ]]-build
script:
- cd src/sbbs3/gtkchat
- touch depend
- touch xpdev
- touch xpdev-mt
- touch encode
- touch hash
- touch smblib
- gmake $[[ inputs.build_flags ]] $BUILD_ARGS
artifacts:
name: "gtkchat-$[[ inputs.os ]]-$[[ inputs.platform ]]"
paths:
- "src/sbbs3/gtkchat/*.exe.release/*"
needs:
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [xpdev]"
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [encode]"
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [hash]"
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [smblib]"
rules:
- if: '"$[[ inputs.has_gtk ]]" == "no"'
when: never
- !reference [.rules, rules]
"$[[ inputs.os ]]-$[[ inputs.platform ]] [gtkmonitor]":
extends:
- .$[[ inputs.os ]]-build
script:
- cd src/sbbs3/gtkmonitor
- touch depend
- touch xpdev
- touch xpdev-mt
- touch smblib
- gmake $[[ inputs.build_flags ]] $BUILD_ARGS
artifacts:
name: "gtkmonitor-$[[ inputs.os ]]-$[[ inputs.platform ]]"
paths:
- "src/sbbs3/gtkmonitor/*.exe.release/*"
needs:
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [xpdev]"
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [smblib]"
rules:
- if: '"$[[ inputs.has_gtk ]]" == "no"'
when: never
- !reference [.rules, rules]
"$[[ inputs.os ]]-$[[ inputs.platform ]] [gtkuseredit]":
extends:
- .$[[ inputs.os ]]-build
script:
- cd src/sbbs3/gtkuseredit
- touch depend
- touch xpdev
- touch xpdev-mt
- touch smblib
- gmake $[[ inputs.build_flags ]] $BUILD_ARGS
artifacts:
name: "gtkuseredit-$[[ inputs.os ]]-$[[ inputs.platform ]]"
paths:
- "src/sbbs3/gtkuseredit/*.exe.release/*"
needs:
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [xpdev]"
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [smblib]"
rules:
- if: '"$[[ inputs.has_gtk ]]" == "no"'
when: never
- !reference [.rules, rules]
"$[[ inputs.os ]]-$[[ inputs.platform ]] [gtkuserlist]":
extends:
- .$[[ inputs.os ]]-build
script:
- cd src/sbbs3/gtkuserlist
- touch depend
- touch xpdev
- touch xpdev-mt
- touch smblib
- gmake $[[ inputs.build_flags ]] $BUILD_ARGS
artifacts:
name: "gtkuserlist-$[[ inputs.os ]]-$[[ inputs.platform ]]"
paths:
- "src/sbbs3/gtkuserlist/*.exe.release/*"
needs:
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [xpdev]"
- job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [smblib]"
rules:
- if: '"$[[ inputs.has_gtk ]]" == "no"'
when: never
- !reference [.rules, rules]
#########
# Tests #
#########
"js-testsuite [$[[ inputs.os ]]-$[[ inputs.platform ]]]": "js-testsuite [$[[ inputs.os ]]-$[[ inputs.platform ]]]":
extends: extends:
- .$[[ inputs.os ]]-test - .$[[ inputs.os ]]-test
......
...@@ -28,7 +28,6 @@ include: ...@@ -28,7 +28,6 @@ include:
os: 'freebsd' os: 'freebsd'
platform: 'amd64' platform: 'amd64'
tagname: 'FreeBSD' tagname: 'FreeBSD'
build_flags: 'RELEASE=1'
- local: '.gitlab-ci-unix.yml' - local: '.gitlab-ci-unix.yml'
inputs: inputs:
os: 'mingw32' os: 'mingw32'
...@@ -44,15 +43,12 @@ include: ...@@ -44,15 +43,12 @@ include:
platform: 'aarch64' platform: 'aarch64'
tagname: 'RaspberryPi' tagname: 'RaspberryPi'
no_javascript: 'yes' no_javascript: 'yes'
# NOTE: linux-sbbs builds gtkutils, so that would need to be fiddled with - local: '.gitlab-ci-unix.yml'
# - local: '.gitlab-ci-unix.yml' inputs:
# inputs: os: "linux"
# os: "linux" platform: "x64"
# platform: "x64" tagname: "Linux"
# tagname: "Linux" has_gtk: "yes"
# cross_platform: "no"
# build_flags: "RELEASE=1"
# no_javascript: "no"
sbbs-linux: sbbs-linux:
tags: [Linux] tags: [Linux]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment