I have been experimenting with seeing if I could get the Arduino IDE 2 as well as CLI on a few of my SBC setups.
So far it works fine on my UP Squared board. But expected it would as it is an Intel Celeron processor.
Then decide to reset up my Raspberry PI 4 to run Ubuntu 22.04 off of SSD. From a previous thread (either here or on PJRC), that the RPI 64 bit builds are not yet automatically built... So can not pick up the current binaries from either the arduino.cc website nor from artifacts from recent github PRs...
So far the only place I know to get them are up from the github project:
koendv/arduino-ide-raspberrypi: arduino IDE v2 for raspberry pi (github.com)
And noted that the last release was 2.0.2 which I installed.
Note: initially the appimage file will not run as it depends on things that are not installed by default on Ubuntu 22.04
This is noted on the Readme file of the project, that you need to run the command:
sudo apt-get install libz1g-dev fuse libfuse-dev
however, this command fails as libz1g-dev does not exist.
I was able to get it to run using:
sudo apt-get install zlib1g-dev fuse libfuse-dev
So then decided to try to build my own copy of it, so clicked on the developers link:
arduino-ide-raspberrypi/README-DEVELOPER.md at main · koendv/arduino-ide-raspberrypi (github.com)
I was going to report I had problem in set up Docker - But it was user error. I was following the command lines in the code tags:
git clone https://github.com/koendv/docker-github-actions-runner
Which failed. Then figured out from above you mentioned to fork:
And so instead needed to use my github project not koendv
Note: the command:
./docker-github-actions-runner.sh
Failed to run, but it did run using sudo
Note: I set this up a week or two ago and it was failing each night as I think I setup the project back then but the RPI was not talking, so I reinstalled ubuntu and did everything from a clean install.
And it actually completed the last two runs. including:
https://github.com/KurtE/arduino-ide/actions/runs/3810372265
Which created the artifacts, which I was able to download the appimage version which ran.
However also today, I tried to resync up my main branch to be in sync the Arduino main branch,
(git reset --hard upstream/main) followed by (git push --force origin main)
And then reapplied the patch file and then tried to run it again with the current sources.
And that failed:
Not sure if I would need to (or should) delete my fork of arduino-ide, and then fork it again?
Or if, what the failure mentioned, maybe some tools changed and maybe need to update the patch file?
https://github.com/KurtE/arduino-ide/actions/runs/3813443441/jobs/6487191724#step:7:666
Thoughts?