Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit06f41ba

Browse files
authored
Update CompatHelper.yml
1 parent4b85f49 commit06f41ba

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

‎.github/workflows/CompatHelper.yml‎

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,19 @@ jobs:
3838
import Clang_jll
3939
import CompatHelper
4040
41-
# hack in a hook for generating new libclang bindings
42-
struct CIService <: CompatHelper.CIService
43-
ci_cfg::CompatHelper.CIService
44-
end
45-
46-
CompatHelper.github_token(cis::CIService; kwargs...) = CompatHelper.github_token(cis.ci_cfg; kwargs...)
47-
CompatHelper.github_repository(cis::CIService; kwargs...) = CompatHelper.github_repository(cis.ci_cfg; kwargs...)
48-
CompatHelper.get_my_username(cis::CIService; kwargs...) = CompatHelper.get_my_username(cis.ci_cfg; kwargs...)
49-
50-
function CompatHelper.set_git_identity(cis::CIService)
41+
# hack in a hook for generating new libclang bindings after Project.toml is updated
42+
struct HACK end
43+
function CompatHelper.modify_project_toml(
44+
name::AbstractString,
45+
repo_path::AbstractString,
46+
brand_new_compat::AbstractString,
47+
bump_version::HACK,
48+
)
49+
CompatHelper.modify_project_toml(name, repo_path, brand_new_compat, false)
5150
if Clang_jll.artifact_dir != "${{ env.new_clang_jll }}"
5251
run(`$(Base.julia_cmd().exec[1]) --project -e "import Pkg ; Pkg.instantiate() ; Pkg.build()"`)
5352
run(`$(Base.julia_cmd().exec[1]) --project deps/generate.jl $("${{ env.new_clang_jll }}/lib/libclang.so") $("${{ env.new_llvm_lib }}")`)
5453
end
55-
56-
return CompatHelper.set_git_identity(cis.ci_cfg)
5754
end
5855
59-
CompatHelper.main(ENV, CIService(CompatHelper.auto_detect_ci_service(; env = ENV)), include_jll = true)
56+
CompatHelper.main(ENV, CIService(CompatHelper.auto_detect_ci_service(; env = ENV)), include_jll = true, bump_version = HACK())

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp