Commit daa53ee
authored
Integrate Docker container into PR workflow (#4325)
* Integrate Docker container into pr.yml workflow
Switch the PR CI workflow to run inside the `pr-ci-container` image.
- Add `packages: read` permission.
- Set `container: ghcr.io/codenameone/codenameone/pr-ci-container:latest`.
- Use container environment variables (`JAVA{v}_HOME`) to configure Java versions instead of `actions/setup-java`.
- Remove redundant dependency installations (`apt-get`, `wget`) and use pre-installed binaries from `/opt/cn1-binaries`.
* Integrate Docker container into pr.yml workflow
Switch the PR CI workflow to run inside the `pr-ci-container` image.
- Add `packages: read` permission.
- Set `container: ghcr.io/codenameone/codenameone/pr-ci-container:latest`.
- Configure `JAVA_HOME` using container environment variables (`JAVA_HOME_8`, `JAVA_HOME_17`, `JAVA_HOME_21`) instead of `actions/setup-java`.
- Remove redundant dependency installations (`apt-get`, `wget`) and use pre-installed binaries from `/opt/cn1-binaries`.
- Remove Java 25 from the build matrix as it is not supported in the container.
* Fix Android encoding issue and integrate Docker container into PR workflow
1. Replaced non-ASCII '→' character with '->' in `AndroidScreenshotTask.java` to fix `javac` "unmappable character" errors in ASCII-only environments.
2. Migrated `.github/workflows/pr.yml` to run inside the `pr-ci-container` Docker image:
- Added `packages: read` permission.
- Configured `JAVA_HOME` using container environment variables (`JAVA_HOME_8`, etc.) instead of `actions/setup-java`.
- Replaced redundant dependency downloads with local symlinks/copies from `/opt/cn1-binaries`.
- Removed Java 25 from the build matrix as it's not supported in the container.
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent c684d67 commit daa53ee
File tree
2 files changed
+23
-21
lines changed- .github/workflows
- Ports/Android/src/com/codename1/impl/android
2 files changed
+23
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | | - | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
79 | | - | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| |||
226 | 232 | | |
227 | 233 | | |
228 | 234 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
| 235 | + | |
| 236 | + | |
235 | 237 | | |
236 | 238 | | |
237 | 239 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments