Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
e38be7b
Add a pure Java2D rasterizer for CSS boxes
shai-almog Oct 8, 2026
50809cf
CSS compiler: generate images in process, with no display or browser
shai-almog Oct 8, 2026
a36df51
CSS compiler CLI: run without a JFrame, the simulator port or the des…
shai-almog Oct 8, 2026
494957a
Simulator: run live CSS reload on the headless compiler only
shai-almog Oct 8, 2026
49a2fc8
Give HeadlessCssCompilerImplementation the full license header
shai-almog Oct 8, 2026
9bec1cd
CSS compiler CLI: say "compiled" only when a compile happened
shai-almog Oct 8, 2026
9d46066
CI, scripts and docs for the headless CSS compiler
shai-almog Oct 8, 2026
9796e04
CSS compiler: mirror assets of outside imports, keep vector backgroun…
shai-almog Oct 8, 2026
9c44d38
CSS compiler: load a named image from the classpath only
shai-almog Oct 8, 2026
e0fd990
CSS compiler: multi-image directories, padding-box gradients, outside…
shai-almog Oct 8, 2026
0281d34
CSS compiler: background sizing, declaration order and corner gradien…
shai-almog Oct 8, 2026
4377ec1
CSS compiler: asset edits and deleted references recompile; grad/turn…
shai-almog Oct 8, 2026
a33211a
Merge remote-tracking branch 'origin/master' into headless-css-compiler
shai-almog Oct 9, 2026
d163119
CSS compiler: conic stops in grad/turn, merged stylesheet rewritten u…
shai-almog Oct 9, 2026
bdf33e7
CSS compiler: gradient positions, sized gradients, selector cache and…
shai-almog Oct 9, 2026
b930a70
CSS compiler: gradient colour hints, parentheses in quoted urls
shai-almog Oct 9, 2026
f1c99cb
CSS compiler: percentage radii of a painted ellipse follow their own …
shai-almog Oct 9, 2026
f3ef591
CSS compiler: a gradient and an image in one background stack as written
shai-almog Oct 9, 2026
262973a
CSS compiler: rem and viewport gradient stops, pixel cap on the alloc…
shai-almog Oct 9, 2026
4112932
CSS compiler: per-file watching, quoted import urls, project found fr…
shai-almog Oct 9, 2026
cabb393
CSS rasterizer: tile counts are compared without multiplying them
shai-almog Oct 10, 2026
0a74400
CSS compiler: SVG and Lottie backgrounds are painted into generated i…
shai-almog Oct 10, 2026
f29cefd
CSS rasterizer: SVG groups fade as one, bounded inset blur and dotted…
shai-almog Oct 10, 2026
8a009ad
CSS rasterizer: an SVG opacity layer takes its size from the image pa…
shai-almog Oct 10, 2026
96ca00e
CSS compiler: gradients via background-image, SVG fitting, nested med…
shai-almog Oct 10, 2026
9d18652
CSS compiler: copyright headers, bounded outer blur, repeat axes, dot…
shai-almog Oct 10, 2026
e3a937d
CSS compiler: space and round tiling, bounded gradient tile, mirror c…
shai-almog Oct 10, 2026
5d8e70f
CSS compiler: SVG use and fill-rule, currentColor gradient stops, com…
shai-almog Oct 10, 2026
793f6d2
SVG embedded stylesheets, and mixed borders worked out in bands
shai-almog Oct 10, 2026
d8d4a57
CSS compiler: SVG dashes and focal points, imports with a query, libr…
shai-almog Oct 11, 2026
7d22f4e
SVG display, gradient transforms and bounding-box clips; dotLottie at…
shai-almog Oct 11, 2026
df423ba
SVG images, masks and text families in generated images; no reload af…
shai-almog Oct 11, 2026
9b22dd9
SVG patterns, mask regions, inherited gradient geometry, text strokes…
shai-almog Oct 11, 2026
70db962
Nested SVG viewports in generated images; spaced tiles keep their gap…
shai-almog Oct 11, 2026
32faa3d
SVG filters, markers, currentColor, percentages, units, spread method…
shai-almog Oct 11, 2026
b913efe
SVG text spans, clip-rule and inline !important; dotLottie manifest s…
shai-almog Oct 11, 2026
7838626
SVG non-scaling strokes, paint fallbacks, filter paint inputs and use…
shai-almog Oct 11, 2026
1bc7681
SVG attribute selectors, percentage opacities, quoted paint reference…
shai-almog Oct 11, 2026
efbfa1f
SVG root transform, clip, mask and filter; files with no size fill th…
shai-almog Oct 11, 2026
9863cf6
SVG clip paths clipped in their turn and visible overflow on a nested…
shai-almog Oct 11, 2026
312531a
SVG transforms declared as a property, links drawn as groups, percent…
shai-almog Oct 11, 2026
0b53a4c
repeating-conic-gradient; SVG stylesheets filtered by media; an impor…
shai-almog Oct 11, 2026
20b8f76
SVG percentage dashes, relative span font sizes, regions against the …
shai-almog Oct 11, 2026
4bd0a0f
SVG text position lists, feImage, context paints in markers, symbol p…
shai-almog Oct 11, 2026
cc76f5f
SVG fonts inherited by text, switch, percentages in user-space gradie…
shai-almog Oct 11, 2026
f60cdbc
SVG text on a path, a use sizing a nested svg, currentColor in gradie…
shai-almog Oct 11, 2026
90fde6d
SVG font shorthand, percentages in box-unit clips and patterns, view-…
shai-almog Oct 11, 2026
403bdb5
SVG percentage translations, font-relative lengths, href over xlink:h…
shai-almog Oct 11, 2026
56173d6
SVG span lists restored, font shorthand in place, marker viewport, hi…
shai-almog Oct 11, 2026
b02e728
SVG paint-order, space-separated rgb, a foreignObject with nothing in…
shai-almog Oct 12, 2026
90baacb
An @import after a rule stops the compile; a foreignObject is refused…
shai-almog Oct 12, 2026
0e294f7
SVG filter regions inherited side by side, use sizes of zero and meas…
shai-almog Oct 12, 2026
26c81ea
SVG images of no width or height, displacement maps that turn with th…
shai-almog Oct 12, 2026
28ad3d2
SVG stitched turbulence and truncated seeds, a text's first offsets, …
shai-almog Oct 12, 2026
e3d38a5
SVG morphology that turns with the element, escaped data pictures, ma…
shai-almog Oct 12, 2026
2d1490b
data: urls in generated backgrounds; an SVG of no width or height sho…
shai-almog Oct 12, 2026
846fb96
SVG letter spacing, gradients in linear light, inherited fill rules; …
shai-almog Oct 12, 2026
99debd8
SVG word spacing, inherit and unset for every property, font-relative…
shai-almog Oct 12, 2026
b4bbb13
SVG glyph rotation, anchors from containers, span opacity, inherited …
shai-almog Oct 12, 2026
9dab003
SVG dominant baseline, currentColor as a paint fallback, requiredFeat…
shai-almog Oct 12, 2026
9a9afc1
SVG initial values, position lists counted in whole characters, an em…
shai-almog Oct 12, 2026
f63e547
SVG symbols clipped to their use and drawn whatever their display, hi…
shai-almog Oct 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/_build-mac-port.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,12 @@ jobs:
# triggers on, and scripts-macos.yml triggers on maven/** -- so naming
# codenameone-maven-plugin and svg-transcoder left every other module
# able to start this job and then hit an exact cache. build-mac-port.sh
# runs `-pl designer -am` and `-pl mac -am`, so the modules it actually
# runs `-pl css-cli -am` and `-pl mac -am`, so the modules it actually
# rebuilds are the transitive dependencies of those two: core,
# css-compiler, javase, factory and the rest. A CSS compiler change is
# the concrete case -- the script rebuilds designer precisely so it
# reaches the test app, and the cache key was cancelling that rebuild.
# css-compiler, project-model, factory and the rest. A CSS compiler
# change is the concrete case -- the script reinstalls css-cli precisely
# so it reaches the test app, and the cache key was cancelling that
# rebuild.
# Listing them would be the same mistake one module later, so the
# subtree is hashed and the list is gone.
#
Expand All @@ -120,9 +121,9 @@ jobs:
# null-aware sort.
# CodenameOneDesigner/src is here because maven/designer is a pom and
# nothing else -- it sets <sourceDirectory>../../CodenameOneDesigner/src,
# so the module the build script rebuilds by name compiles a tree that
# lives outside maven/ entirely. Hashing maven/ alone would have looked
# complete and still missed it.
# so a module setup-workspace.sh installs into the cached repository
# compiles a tree that lives outside maven/ entirely. Hashing maven/
# alone would have looked complete and still missed it.
SRC_HASH=$(find CodenameOne/src Ports/MacPort Ports/iOSPort vm/JavaAPI vm/ByteCodeTranslator Themes native-themes \
CodenameOneDesigner/src \
maven \
Expand Down
26 changes: 20 additions & 6 deletions .github/workflows/archetype-smoke.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Archetype simulator smoke

# Smoke-tests that an archetype-generated project can run `cn1:css` (the
# CN1CSSCLI subprocess that boots JavaSEPort) with `cn1.autoDefaultResourceBundle`
# CN1CSSCLI subprocess, which runs headless) with `cn1.autoDefaultResourceBundle`
# forced on. This reproduces the user-side preference state that masked
# issue #4850 in CI for six months: the bug was deterministic on the user
# code path but invisible to CI runners with the default-false preference.
Expand All @@ -17,6 +17,8 @@ on:
- 'CodenameOneDesigner/**'
- 'CodenameOne/src/com/codename1/ui/plaf/UIManager.java'
- 'maven/codenameone-maven-plugin/**'
- 'maven/css-compiler/**'
- 'maven/css-cli/**'
- 'maven/build-engine/**'
- 'maven/project-model/**'
- 'maven/cn1app-archetype/**'
Expand All @@ -42,6 +44,8 @@ on:
- 'CodenameOneDesigner/**'
- 'CodenameOne/src/com/codename1/ui/plaf/UIManager.java'
- 'maven/codenameone-maven-plugin/**'
- 'maven/css-compiler/**'
- 'maven/css-cli/**'
- 'maven/build-engine/**'
- 'maven/project-model/**'
- 'maven/cn1app-archetype/**'
Expand Down Expand Up @@ -96,6 +100,11 @@ jobs:
# them need those headers to compile at all: without them this failed on
# "'curl/curl.h' file not found" after translating perfectly well. The same
# four packages, for the same reason, are in parparvm-tests.yml.
#
# xvfb is for the minimal-layout step, which runs cn1:test in the
# simulator's runner, and is left around the archetype smoke as it was.
# Compiling a project's CSS needs no display: the framework build and
# the staged-jar step run without one, and the latter is the guard.
- name: Install xvfb and the native backend toolchain
run: |
bash scripts/ci/apt-get-install.sh xvfb clang \
Expand All @@ -116,12 +125,12 @@ jobs:
# -Darchetype.test.skip=true keeps the smoke fast — the per-tag
# ITs already run in the release workflow.
cd maven
bash ../scripts/ci/retry.sh xvfb-run -a mvn install -Plocal-dev-javase -DskipTests -Darchetype.test.skip=true -Dmaven.javadoc.skip=true
bash ../scripts/ci/retry.sh mvn install -Plocal-dev-javase -DskipTests -Darchetype.test.skip=true -Dmaven.javadoc.skip=true
- name: Refresh archetype catalog
run: |
cd maven
xvfb-run -a mvn archetype:update-local-catalog -Plocal-dev-javase
xvfb-run -a mvn archetype:crawl -Plocal-dev-javase
mvn archetype:update-local-catalog -Plocal-dev-javase
mvn archetype:crawl -Plocal-dev-javase
- name: Run archetype simulator smoke (auto-bundle pref forced on)
env:
# The packaging check must not be skipped on a runner that has clang.
Expand All @@ -135,8 +144,13 @@ jobs:
- name: Check the staged upload jar of every build target
run: |
cd maven/integration-tests
# The project's CSS compile opens an AWT frame, so it needs a display.
xvfb-run -a bash cn1app-staged-jar-test.sh
# DISPLAY and WAYLAND_DISPLAY are cleared on purpose, and this must
# never be wrapped in xvfb-run: the script generates a project and
# builds every target, which compiles the project's theme.css each
# time, so passing here proves the CSS compile needs no display. A
# compiler change that reaches for a window fails this step instead
# of the first developer who builds over ssh or in a container.
env -u DISPLAY -u WAYLAND_DISPLAY bash cn1app-staged-jar-test.sh
# The archetype's default layouts: an app with no platform modules, whose
# common module builds, tests and stages every platform, and a backend-only
# project. Nothing is submitted and the simulator is never launched.
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/designer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
cache: 'maven'

- name: Install build dependencies
run: bash scripts/ci/apt-get-install.sh xvfb unzip
run: bash scripts/ci/apt-get-install.sh unzip

- name: Cache cn1-binaries
uses: actions/cache@v5
Expand All @@ -69,7 +69,7 @@ jobs:
rm -rf maven/target/cn1-binaries
cp -R ../cn1-binaries maven/target/cn1-binaries

- name: Build Designer (pulls in codenameone-css-compiler as dep)
- name: Build Designer (pulls in codenameone-css-compiler and codenameone-css-cli as deps)
env:
CN1_BINARIES: ${{ github.workspace }}/maven/target/cn1-binaries
run: |
Expand Down Expand Up @@ -97,7 +97,8 @@ jobs:
# CN1CSSCLI lives in the thin codenameone-css-cli module and is launched
# on a resolved classpath (see AbstractCN1Mojo.getCssCliClasspath and the
# simulator's CSSWatcher), not as a shaded `java -jar`. Exercise it the
# same way here.
# same way here, with java.awt.headless set and DISPLAY cleared: the
# compiler opens no window and must keep working where there is none.
cd maven
bash $GITHUB_WORKSPACE/scripts/ci/retry.sh mvn -B -q -pl css-cli -Plocal-dev-javase \
-Dmdep.outputFile="$PWD/css-cli-cp.txt" dependency:build-classpath
Expand All @@ -116,14 +117,14 @@ jobs:
cat <<'EOF' > "$l10n_dir/Strings.properties"
greeting=Hello from CLI
EOF
xvfb-run -a java -Dcli=true -cp "$cp" com.codename1.designer.css.CN1CSSCLI \
-css -stateless -input "$css_file" -output "$output_file" -localization "$l10n_dir"
env -u DISPLAY -u WAYLAND_DISPLAY java -Djava.awt.headless=true -cp "$cp" com.codename1.designer.css.CN1CSSCLI \
-input "$css_file" -output "$output_file" -localization "$l10n_dir"
test -s "$output_file"

- name: Verify native-themes CEF-free build
- name: Verify native-themes build
run: |
cd maven
bash $GITHUB_WORKSPACE/scripts/ci/retry.sh mvn -B -pl css-compiler -am install -DskipTests -Dmaven.javadoc.skip=true -Plocal-dev-javase
bash $GITHUB_WORKSPACE/scripts/ci/retry.sh mvn -B -pl css-cli -am install -DskipTests -Dmaven.javadoc.skip=true -Plocal-dev-javase
cd ..
./scripts/build-native-themes.sh
test -f Themes/iOSModernTheme.res || { echo "missing Themes/iOSModernTheme.res"; exit 1; }
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/developer-guide-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@ on:
# The themed figures are rendered against the compiled native themes, so
# what those themes look like is an input to this guide exactly the way the
# build hint sources above are. build-native-themes.sh compiles
# native-themes/<name>/theme.css with maven/css-compiler, so a change to
# any of the three changes the pictures without touching docs/ at all --
# and the committed figures would then go stale silently until some later
# run failed against them.
# native-themes/<name>/theme.css with maven/css-compiler through its
# command line in maven/css-cli, so a change to any of them changes the
# pictures without touching docs/ at all -- and the committed figures
# would then go stale silently until some later run failed against them.
- 'native-themes/**'
- 'maven/css-compiler/**'
- 'maven/css-cli/**'
- 'scripts/build-native-themes.sh'
# The figures are rendered by the framework itself, so a change to how a
# component paints, how a layout measures, or how the JavaSE port
Expand Down Expand Up @@ -109,6 +110,7 @@ jobs:
# comparison step is gated on this filter too.
- 'native-themes/**'
- 'maven/css-compiler/**'
- 'maven/css-cli/**'
- 'scripts/build-native-themes.sh'
# Same reason, and the same two-lists rule: the figure comparison
# step is gated on this filter as well as on the trigger.
Expand Down Expand Up @@ -167,7 +169,9 @@ jobs:
mkdir -p "$HOME/.codenameone"
touch "$HOME/.codenameone/guibuilder.jar"
cp maven/CodeNameOneBuildClient.jar "$HOME/.codenameone/CodeNameOneBuildClient.jar"
xvfb-run -a mvn -B -ntp -Dgenerate-gui-sources-done=true -Dcodename1.platform=javase -f docs/demos/pom.xml process-classes
# No virtual display: process-classes compiles each demo's CSS, which
# is headless. The screenshot generator below is the step that needs one.
mvn -B -ntp -Dgenerate-gui-sources-done=true -Dcodename1.platform=javase -f docs/demos/pom.xml process-classes

- name: Install demo common module for screenshot generation
if: github.event_name != 'pull_request' || steps.changes.outputs.docs == 'true' || steps.changes.outputs.demos == 'true' || steps.changes.outputs.workflow == 'true'
Expand Down
34 changes: 23 additions & 11 deletions .github/workflows/gradle-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ on:
- 'maven/codenameone-gradle-plugin/**'
- 'maven/codenameone-gradle-plugin-marker/**'
- 'maven/codenameone-maven-plugin/**'
- 'maven/css-compiler/**'
- 'maven/css-cli/**'
- 'maven/build-engine/**'
- 'maven/project-model/**'
- 'maven/cn1app-archetype/**'
Expand All @@ -53,6 +55,8 @@ on:
- 'maven/codenameone-gradle-plugin/**'
- 'maven/codenameone-gradle-plugin-marker/**'
- 'maven/codenameone-maven-plugin/**'
- 'maven/css-compiler/**'
- 'maven/css-cli/**'
- 'maven/build-engine/**'
- 'maven/project-model/**'
- 'maven/cn1app-archetype/**'
Expand Down Expand Up @@ -108,9 +112,12 @@ jobs:
java-version: '8'
distribution: 'temurin'
cache: 'maven'
# xvfb for the CSS compiler, which opens an AWT frame. clang and the
# libraries the generated backend links (see archetype-smoke.yml) for
# backendPackage, which the backend-only test otherwise skips.
# xvfb for the steps that run cn1Test in the simulator's runner or open
# a desktop tool. Building a project, compiling its CSS included, needs
# no display, so no build-only step below is wrapped in xvfb-run and
# none should be. clang and the libraries the generated backend links
# (see archetype-smoke.yml) for backendPackage, which the backend-only
# test otherwise skips.
- name: Install xvfb and the native backend toolchain
run: |
bash scripts/ci/apt-get-install.sh xvfb clang \
Expand All @@ -122,21 +129,26 @@ jobs:
RETRY_DELAY_SECONDS: '60'
run: |
cd maven
bash ../scripts/ci/retry.sh xvfb-run -a mvn install -Plocal-dev-javase -DskipTests -Darchetype.test.skip=true -Dmaven.javadoc.skip=true
bash ../scripts/ci/retry.sh mvn install -Plocal-dev-javase -DskipTests -Darchetype.test.skip=true -Dmaven.javadoc.skip=true
- name: Refresh archetype catalog
run: |
cd maven
xvfb-run -a mvn archetype:update-local-catalog -Plocal-dev-javase
xvfb-run -a mvn archetype:crawl -Plocal-dev-javase
mvn archetype:update-local-catalog -Plocal-dev-javase
mvn archetype:crawl -Plocal-dev-javase
- name: Gradle application
working-directory: maven/integration-tests
run: xvfb-run -a bash gradle-app-test.sh
- name: Maven and Gradle upload parity
working-directory: maven/integration-tests
run: xvfb-run -a bash gradle-maven-parity-test.sh
run: bash gradle-maven-parity-test.sh
- name: Gradle cn1lib, consumed by Gradle and Maven
working-directory: maven/integration-tests
run: xvfb-run -a bash gradle-cn1lib-test.sh
# DISPLAY and WAYLAND_DISPLAY are cleared on purpose, and this must
# never be wrapped in xvfb-run: the script runs cn1Css and stages
# Android and iOS builds for several Gradle apps without starting the
# simulator, so passing here proves the Gradle CSS compile needs no
# display. archetype-smoke.yml holds the same guard for Maven.
run: env -u DISPLAY -u WAYLAND_DISPLAY bash gradle-cn1lib-test.sh
- name: Migration to Gradle
working-directory: maven/integration-tests
run: xvfb-run -a bash gradle-migrate-test.sh
Expand All @@ -145,13 +157,13 @@ jobs:
env:
# A skip reads like a pass; this runner has clang.
CN1_BACKEND_PACKAGE_REQUIRED: '1'
run: xvfb-run -a bash gradle-initializr-test.sh
run: bash gradle-initializr-test.sh
# The desktop tools are separate Maven projects under scripts/; Settings
# stands in for all four, which start through the same launcher.
- name: Build Codename One Settings
working-directory: scripts/settings
# Its own CSS compile opens an AWT frame, so it needs a display too.
run: JAVA_HOME="$GRADLE_JAVA_HOME" xvfb-run -a mvn -B -ntp install -DskipTests -Pexecutable-jar -Dcodename1.platform=javase
# Build only, tests skipped: nothing here opens a window.
run: JAVA_HOME="$GRADLE_JAVA_HOME" mvn -B -ntp install -DskipTests -Pexecutable-jar -Dcodename1.platform=javase
- name: Desktop tools launch from Maven and Gradle
working-directory: maven/integration-tests
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/guibuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
- 'CodenameOne/src/**'
- 'Ports/JavaSE/src/**'
- 'maven/css-compiler/**'
- 'maven/css-cli/**'
- 'maven/codenameone-maven-plugin/src/main/java/com/codename1/maven/**'
- 'maven/build-engine/src/main/java/com/codename1/maven/**'
push:
Expand All @@ -40,6 +41,7 @@ on:
- 'CodenameOne/src/**'
- 'Ports/JavaSE/src/**'
- 'maven/css-compiler/**'
- 'maven/css-cli/**'
- 'maven/codenameone-maven-plugin/src/main/java/com/codename1/maven/**'
- 'maven/build-engine/src/main/java/com/codename1/maven/**'

Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/linux-build-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,9 @@ jobs:
- name: Check out repository
uses: actions/checkout@v6

- name: Install Xvfb
run: |
set -e
# The CN1 CSS compiler renders via CEF/AWT and throws HeadlessException
# without a display, so the common build runs under a virtual X server.
bash scripts/ci/apt-get-install.sh xvfb

# No virtual display in this job: it only builds, and the css goal the
# common build runs compiles theme.css headless. The jobs that run the
# app start their own Xvfb.
- name: Set up JDK 8
uses: actions/setup-java@v5
with: { distribution: 'temurin', java-version: '8' }
Expand Down Expand Up @@ -134,9 +130,6 @@ jobs:
run: |
set -e
export JAVA_HOME="$JDK_17_HOME"
Xvfb :99 -screen 0 1600x1200x24 >/tmp/xvfb-build.log 2>&1 &
export DISPLAY=:99
sleep 2
mkdir -p "$HOME/.codenameone"
[ -f "$HOME/.codenameone/guibuilder.jar" ] || : > "$HOME/.codenameone/guibuilder.jar"
bash scripts/ci/retry.sh \
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/native-themes-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- 'scripts/ci/retry.sh'
- 'native-themes/**'
- 'maven/css-compiler/**'
- 'maven/css-cli/**'
- 'scripts/build-native-themes.sh'
- '.github/workflows/native-themes-sync.yml'

Expand Down Expand Up @@ -60,10 +61,10 @@ jobs:
restore-keys: |
${{ runner.os }}-m2

- name: Build css-compiler
- name: Build the CSS compiler CLI
run: |
cd maven
bash $GITHUB_WORKSPACE/scripts/ci/retry.sh mvn -B -pl css-compiler -am install -DskipTests -Dmaven.javadoc.skip=true -Plocal-dev-javase
bash $GITHUB_WORKSPACE/scripts/ci/retry.sh mvn -B -pl css-cli -am install -DskipTests -Dmaven.javadoc.skip=true -Plocal-dev-javase

- name: Rebuild native themes
env:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/port-status-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ jobs:
distribution: temurin
java-version: '17'
cache: maven
- name: Install Xvfb
run: bash scripts/ci/apt-get-install.sh xvfb
- name: Set up workspace
run: xvfb-run ./scripts/setup-workspace.sh -q -DskipTests
run: ./scripts/setup-workspace.sh -q -DskipTests
- name: Build compliance application for JavaScript
run: SKIP_PARPARVM_BUILD=1 xvfb-run ./scripts/build-javascript-port-hellocodenameone.sh "${GITHUB_WORKSPACE}/hellocodenameone-javascript-port.zip"
run: SKIP_PARPARVM_BUILD=1 ./scripts/build-javascript-port-hellocodenameone.sh "${GITHUB_WORKSPACE}/hellocodenameone-javascript-port.zip"
- uses: actions/upload-artifact@v4
with:
name: nightly-javascript-app
Expand Down
Loading
Loading