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

elf_utils: add missing triplet for i386 #4188

Merged
merged 2 commits into from
Jun 4, 2023

Conversation

valentindavid
Copy link
Contributor

When cross compiling a snap to i386, snap yaml generation fails with RuntimeError: Arch triplet not defined for arch 'i686'

architectures:
 - build-on: amd64
   build-for: i386
  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint?
  • Have you successfully run pytest tests/unit?

@sergiusens
Copy link
Collaborator

Looks good in principle, there are other affected tests though

When cross compiling a snap to i386, snap yaml generation fails with
`RuntimeError: Arch triplet not defined for arch 'i686'`

```
architectures:
 - build-on: amd64
   build-for: i386
```
@codecov-commenter
Copy link

codecov-commenter commented Jun 2, 2023

Codecov Report

Merging #4188 (e283e44) into main (9f35295) will not change coverage.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main    #4188   +/-   ##
=======================================
  Coverage   93.90%   93.90%           
=======================================
  Files         569      569           
  Lines       43746    43746           
=======================================
  Hits        41078    41078           
  Misses       2668     2668           
Impacted Files Coverage Δ
snapcraft/elf/elf_utils.py 95.38% <ø> (ø)
tests/unit/elf/test_elf_utils.py 100.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@valentindavid
Copy link
Contributor Author

Looks good in principle, there are other affected tests though

I had a error. Now there is one spread test that is failing but I have no idea why it fails:

google:ubuntu-22.04-64:tests/spread/core22/linters/linter-ros2-humble-mixed

@sergiusens sergiusens merged commit 530ad01 into canonical:main Jun 4, 2023
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.

3 participants