TESTING: Initial ci workflow#467
Conversation
|
Will need to enable GitHub Actions in the settings https://github.com/part-cw/lambdanative/actions |
a9b92a2 to
feaa0dc
Compare
|
Can build Calculator directly, but when using DemoAndroidLNjScheme does not build Logs https://github.com/part-cw/lambdanative/actions/runs/15967897408/job/45032210934 Maybe it is better to build the apps one at a time or modify |
|
Example calculator build https://github.com/bkmgit/LambdaNativeQuickStart |
This seems to be a case of a function used before it is declared, though it doesn't seem that libraries/libiconv/unicode.c#L197 is the culprit, though try adding "#include <arpa/inet.h>" to it. |
Thanks for the hint. Builds now. |
|
It seems to run successfully, though some of the steps in Can update to a newer Fedora image and also update external library versions, but probably best done as a next step. Can also add builds for Android, but again best done as a next step. GitHub does provide MacOs and Windows runners: Options for iOs on linux include:
|
| fi | ||
| asserttool $inkscape | ||
| veval "$inkscape -z $svgsrc -w 1200 -e $pngtgt" | ||
| veval "$inkscape -z $svgsrc -w 1200 -o $pngtgt" |
There was a problem hiding this comment.
Per https://linux.die.net/man/1/inkscape there is no "-o" ?
There was a problem hiding this comment.
This was changed at some point from -e to -o see https://inkscape.org/doc/inkscape-man.html
We could check for the version of Inkscape and condition on that.
| appexe=`ls -1 $SYS_HOSTPREFIX/${SYS_APPNAME}${SYS_APPFIX}/${SYS_APPNAME}*` | ||
| appexe=`ls -1 $SYS_HOSTPREFIX/${SYS_APPNAME}${SYS_APPFIX}/${SYS_APPNAME}` | ||
| appexelocal="./"`basename $appexe` | ||
| echo $appexelocal |
There was a problem hiding this comment.
Left over from debugging. Will remove.
| here=`pwd` | ||
| cd "$appdir" | ||
| $appexelocal | ||
| xvfb-run $appexelocal |
There was a problem hiding this comment.
This doesn't seem to be available for all host platforms, so it may be a special case for Linux or this GitHub testing workflow.
There was a problem hiding this comment.
This may be available on MacOS as well:
https://stackoverflow.com/questions/72853097/pyvirtual-display-and-xvfb-on-macos-latest
https://en.wikipedia.org/wiki/Xvfb
Probably there is something similar for Windows. Can add an option to allow running headless tests and if so check the platform. Would also need to check this is installed.
There was a problem hiding this comment.
Have checked if xvfb-run is available, and if so have used it.
- Adapt to Inkscape version on Linux - Check if xvfb-run is available
May close #460 when complete.