Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run workflow on an Ubuntu 22.04 host #130

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

furgo16
Copy link
Contributor

@furgo16 furgo16 commented Oct 15, 2024

Fixes: #127

Explicitly specify the build host to be Ubuntu 22.04 in the Github workflow file. Before this PR, it was ubuntu-latest, which recently was switched in the Github runners from 22.04 to 24.04 => actions/runner-images#10636

I believe that's the reason the builds broke. This in combination with a potential snapcraft bug/missing feature. The PPA archive specified in the snapcraft.yaml file for Elmer has packages only up to 22.04. It would seem that there is no way for a PPA declared in snapcraft.yaml to specify the suite. It runs by default on that of the host. As such, with snapcraft running on Ubuntu 24.04, it searches for an Elmer PPA package for 24.04. As it's not available, snapcraft's build stage will fail.

The snap was built on my fork from this branch, apparently with no errors: https://github.com/furgo16/FreeCAD-snap/actions/runs/11340302051

Otherwise the PPA seems to fail on the noble package on the Elmer PPA not being available
@furgo16
Copy link
Contributor Author

furgo16 commented Oct 15, 2024

It might be worth filing bugs at:

@furgo16
Copy link
Contributor Author

furgo16 commented Oct 15, 2024

If someone wants to test the built snap from the fork:

  1. Go to https://github.com/furgo16/FreeCAD-snap/actions/runs/11340302051
  2. Download the snap-package artifact from the Artifacts section. It will be a .zip file
  3. Uncompress the downloaded snap-package.zip file
  4. Run sudo snap install ./freecad_1.1-gfacd8ca6_amd64.snap --dangerous to install the local snap (where freecad_1.1-gfacd8ca6_amd64.snap is the file name of the uncompressed .zip artifact)

⚠️ This is available for testing purposes only. While built from the same source code, and in the same way, the artifact is not an official build. Official daily builds should replace this test snap as soon as they are resumed.

@chennes chennes merged commit d5b5b8e into FreeCAD:master Oct 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Daily builds failure 2024-10-10
2 participants