PackageCompiler.jl icon indicating copy to clipboard operation
PackageCompiler.jl copied to clipboard

Testing apps should ideally upload the app somewhere and then download it on another machine which doesn't have Julia

Open KristofferC opened this issue 6 years ago • 5 comments

Similar as to how the julia buildbot works to check that we do not have assumptions about the current machine built into the app.

KristofferC avatar Dec 02 '19 15:12 KristofferC

This seems like a really important test to have.

@KristofferC Do you have any ideas how we might implement this test?

DilumAluthge avatar Feb 14 '20 06:02 DilumAluthge

Could run the app test inside a container with no Julia install. (Would still be the same machine, but at least paths etc that are built into the app will fail.)

fredrikekre avatar Feb 14 '20 07:02 fredrikekre

Could run the app test inside a container with no Julia install. (Would still be the same machine, but at least paths etc that are built into the app will fail.)

This seems like a good first step!

DilumAluthge avatar Feb 18 '20 07:02 DilumAluthge

Maye this could be performed with github actions. We created an automated github actions build script for our project, which compiles on the github servers and attaches the zipped binaries to the tagged release.

It is also possible to upload artifacts with github actions, which seem to be in some temparary storage.

The steps for testing could be something like:

  1. Compile on github and upload artifacts. Trigger a second workflow
  2. Download artifacts on a new instance without julia and run tests

korbinian90 avatar Mar 10 '22 08:03 korbinian90

One tricky part is that the GitHub-hosted GHA runners all have Julia installed by default.

DilumAluthge avatar Mar 10 '22 08:03 DilumAluthge