These files can only be updated having access for the internal repository at the moment.
In order to perform a Swift update:
- Dispatch the internal
swift-prebuild
workflow with the appropriate swift tag. - Dispatch internal
swift-prepare-resource-dir
workflow with the appropriate swift tag. - Once the jobs finish, staged artifacts are available
at https://github.com/dsp-testing/codeql-swift-artifacts/releases. Copy and paste the sha256 within the
_override
definition inload.bzl
. - Compile and run test locally. Adjust the code if needed. New AST entities have to be dealt with in
SwiftTagTraits.h
. - Open a draft PR with the overridden artifacts. Make sure CI passes, go back to 4. otherwise.
- Run DCA, got back to 4. in case of problems.
- Once you are happy, do
(or whatever you have overridden). This will pull the staged archives in the repository for git LFS.
bazel run //swift/third_party/resources:update-dir-macos bazel run //swift/third_party/resources:update-dir-linux bazel run //swift/third_party/resources:update-prebuilt-macos bazel run //swift/third_party/resources:update-prebuilt-linux
- Clear
_override
inload.bzl
. - Push and your PR will be ready for
main
.