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

Update CI build to ubuntu-latest (22.04) #2735

Merged
merged 7 commits into from
Mar 18, 2024
Merged

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Mar 16, 2024

Use ubuntu-latest (22.04) for CI

Add repo for clang

Keep using clang-8

Use default gcc (11)

Was gcc 9

Fix FatIFS library test failure

exfat-utils has moved to exfatprogs
kernel contains exfat support, but requires linux-modules-extra-azure
Recent versions of fsck.vfat require volume label matches boot sector

Explicitly use python 3.12 for CI

Default is python 3.8 which is a bit old.
ESP32 IDF 4.3/4.4 breaks with later versions but a sensible default is 3.12.

mikee47 added 7 commits March 15, 2024 10:53
Remove from supported SOC list for this version until fix implemented
exfat-utils has moved to exfatprogs
kernel contains exfat support, but requires linux-modules-extra-azure
Recent versions of fsck.vfat require volume label matches boot sector
Stick with default (3.8) for ESP32 IDF 4.3, doesn't work with anything later
Copy link

what-the-diff bot commented Mar 16, 2024

PR Summary

  • Updated GitHub Actions Workflow
    Upgraded the workflow to use the latest version of GitHub's checkout action that fetches the repository content. Introduced an additional step for setting up Python version 3.12 for more efficiency.

  • Optimized Dependency Versions
    The workflow now utilizes the latest stable version of Ubuntu. The Python version used in most matrix test cases is also standardized to version 3.12.

  • Updated Sub-modules
    Quicker access to updated features and bug fixes is now available due to updated references for three submodule libraries: Sming/Components/IFS, Sming/Libraries/FatIFS, and Sming/Libraries/USB.

  • Upgraded Installation Script
    The installation script (Tools/install.sh) now adds a new repository for clang-format-8 on Ubuntu 22.04 and has been updated with new package installation commands for better compatibility and installation process.

@slaff slaff added this to the 5.2.0 milestone Mar 18, 2024
@slaff slaff merged commit 1054a0c into SmingHub:develop Mar 18, 2024
46 checks passed
@mikee47 mikee47 deleted the fix/ubuntu22 branch March 18, 2024 10:22
slaff pushed a commit that referenced this pull request Apr 10, 2024
The `PYTHON` environment variable isn't set correctly for CI builds, or for other installations where non-standard locations may be used. This can result in unexpected behaviour where multiple python3 versions are installed.

Update to #2735.
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.

2 participants