gcarreno / setup-lazarus Goto Github PK
View Code? Open in Web Editor NEWSet up your GitHub Actions workflow with a specific version of Lazarus
License: MIT License
Set up your GitHub Actions workflow with a specific version of Lazarus
License: MIT License
After implementing caching for the installer files, looks like the cached windows executable gets somehow damaged or altered that it now does not complete the installation and hangs for at least the 360 minutes allotted by GitHub actions.
I don't even know how to start debugging this one!
I've started this thread on the forums to see if I can get some help: https://forum.lazarus.freepascal.org/index.php/topic,59531.0.html
Under Lazarus 1.8.4 and 2.0.8 (and probably others), the error is as follows:
/usr/bin/ld: /usr/lib/fpc/3.0.4/units/x86_64-linux/rtl/cprt0.o: in function `_start':
(.text+0x3c): undefined reference to `__libc_csu_init'
/usr/bin/ld: (.text+0x43): undefined reference to `__libc_csu_fini'
Error: (9013) Error while linking
Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
Lazarus version based on FPC 3.2.0 (from 2.0.10) build successfully.
The build was also successful on Lazarus 2.0.8 before ubuntu-latest
has changed from 20.04 to 22.04.
Please take a look :)
Hello,
thanks a lot for your work! It's not an issue, rather the question. Does setup-lazarus
action use GHA caching functionality or binaries are installed/downloaded from scratch every time?
Regards
Up to date Googling suggest the following to install a *.dmg
from the command line:
# usage: installdmg https://example.com/path/to/pkg.dmg
function installdmg {
set -x
tempd=$(mktemp -d)
curl $1 > $tempd/pkg.dmg
listing=$(sudo hdiutil attach $tempd/pkg.dmg | grep Volumes)
volume=$(echo "$listing" | cut -f 3)
if [ -e "$volume"/*.app ]; then
sudo cp -rf "$volume"/*.app /Applications
elif [ -e "$volume"/*.pkg ]; then
package=$(ls -1 "$volume" | grep .pkg | head -1)
sudo installer -pkg "$volume"/"$package" -target /
fi
sudo hdiutil detach "$(echo "$listing" | cut -f 1)"
rm -rf $tempd
set +x
}
Case in point:
Want to add rxnew.lpk
from the "Rx" package bundle.
Replicate with VirtualTreeView V5
Needs quotes around that param
Just playing around with the github action here:
https://github.com/arran4/laztest
It seems that the qt dependencies are missing from ubuntu?
Since I'll be attempting to get packages with required components and units to be installed with the install performed, I want to make what's now packages.ts
more towards the install for Lazarus/FPC
To achieve such feat:
JSON
list provided by the packages.lazarus-ide.orgrequire-packages
input matches any package in the listAs title.
Hi,
any chance after Lazarus installation is finished the path to fpc.exe could be added to PATH environmental variable? It looks like the FPC version could be taken from Laz installer name lazarus-2.2.0-fpc-3.2.2-win64.exe
.
It's possible to use directly e.g. D:\a\_temp\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe
now
but that looks pretty fragile.
Or is there some way how to get path to FPC (or at least FPC version) from lazbuild that I missed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.