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

Rework action inner workings (and move to v2) #64

Merged
merged 7 commits into from
Apr 1, 2024
Merged

Rework action inner workings (and move to v2) #64

merged 7 commits into from
Apr 1, 2024

Conversation

KyleMayes
Copy link
Owner

This reworks this action to pull LLVM and Clang binaries from a new assets.json file that maps operating system and architecture (x86 or arm64) to the supported LLVM and Clang versions (and their associated asset paths) for that operating system and architecture.

This assets.json file is generated by the new generate.ts file which uses the GitHub API to query the releases for the llvm/llvm-project and extract supported assets. This should reduce the manual effort in adding support for future LLVM and Clang versions.

As documented in the new CHANGELOG.md file:

Migrating from v1

  • Support for LLVM and Clang 3.5 through 7.0 has been removed (use 7.1 or later)
  • The download-url input has been renamed to mirror-url
  • The force-version and ubuntu-version inputs have been replaced with the force-url input

Other Changes

  • Added arch input
  • Added support for various missing LLVM and Clang versions up to 18.1.2

@KyleMayes KyleMayes changed the title Rework action inner workings (move to v2) Rework action inner workings (and move to v2) Apr 1, 2024
@KyleMayes KyleMayes merged commit bb56a84 into master Apr 1, 2024
4 checks passed
@KyleMayes KyleMayes deleted the v2 branch August 12, 2024 03:02
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.

1 participant