CI: revert to beta3 because rc1 breaks headless

This commit is contained in:
Patrick Dawson
2024-07-26 18:31:42 +02:00
parent e7108a32de
commit bb4669b978
3 changed files with 34 additions and 34 deletions

View File

@@ -7,7 +7,7 @@ on:
env:
vcpkg_tag: 943c5ef1c8f6b5e6ced092b242c8299caae2ff01 # 2024.04.26
vcpkg_tag: 1de2026f28ead93ff1773e6e680387643e914ea1 # 2024.07.12
jobs:
windows:
@@ -286,7 +286,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-14, windows-latest]
gdver: ["4.2.2", "4.3.0-rc.1"]
gdver: ["4.2.2", "4.3.0-beta.3"]
include:
- os: ubuntu-latest
name: 🐧GdsGameProject
@@ -367,7 +367,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-14, windows-latest]
gdver: ["4.2.2", "4.3.0-rc.1"]
gdver: ["4.2.2", "4.3.0-beta.3"]
include:
- os: ubuntu-latest
name: 🐧🧪GDScript
@@ -415,7 +415,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-14, windows-latest]
gdver: ["4.2.2", "4.3.0-rc.1"]
gdver: ["4.2.2", "4.3.0-beta.3"]
include:
- os: ubuntu-latest
name: 🐧🧪C#

View File

@@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-14, windows-latest]
gdver: ["4.2.2", "4.3.0-rc.1"]
gdver: ["4.2.2", "4.3.0-beta.3"]
include:
- os: ubuntu-latest
name: 🐧🧪C# Only

View File

@@ -9,41 +9,41 @@ var anim_counter := 0
var wc_topmost: ImGuiWindowClassPtr
func _ready():
var io := ImGui.GetIO()
io.ConfigFlags |= ImGui.ConfigFlags_ViewportsEnable
var io := ImGui.GetIO()
io.ConfigFlags |= ImGui.ConfigFlags_ViewportsEnable
wc_topmost = ImGuiWindowClassPtr.new()
wc_topmost.ViewportFlagsOverrideSet = ImGui.ViewportFlags_TopMost | ImGui.ViewportFlags_NoAutoMerge
wc_topmost = ImGuiWindowClassPtr.new()
wc_topmost.ViewportFlagsOverrideSet = ImGui.ViewportFlags_TopMost | ImGui.ViewportFlags_NoAutoMerge
var style := ImGui.GetStyle()
style.Colors[ImGui.Col_PlotHistogram] = Color.REBECCA_PURPLE
style.Colors[ImGui.Col_PlotHistogramHovered] = Color.SLATE_BLUE
var style := ImGui.GetStyle()
style.Colors[ImGui.Col_PlotHistogram] = Color.REBECCA_PURPLE
style.Colors[ImGui.Col_PlotHistogramHovered] = Color.SLATE_BLUE
func _process(_delta: float) -> void:
ImGui.ShowDemoWindow()
ImGui.ShowDemoWindow()
ImGui.Begin("hello")
ImGui.Text("hello from GDScript")
ImGui.DragFloat("myfloat", myfloat)
ImGui.Text(str(myfloat[0]))
ImGui.InputText("mystr", mystr, 32)
ImGui.Text(mystr[0])
ImGui.Begin("hello")
ImGui.Text("hello from GDScript")
ImGui.DragFloat("myfloat", myfloat)
ImGui.Text(str(myfloat[0]))
ImGui.InputText("mystr", mystr, 32)
ImGui.Text(mystr[0])
ImGui.PlotHistogram("histogram", values, values.size())
ImGui.PlotLines("lines", values, values.size())
ImGui.ListBox("choices", current_item, items, items.size())
ImGui.Combo("combo", current_item, items)
ImGui.Text("choice = %s" % items[current_item[0]])
ImGui.End()
ImGui.PlotHistogram("histogram", values, values.size())
ImGui.PlotLines("lines", values, values.size())
ImGui.ListBox("choices", current_item, items, items.size())
ImGui.Combo("combo", current_item, items)
ImGui.Text("choice = %s" % items[current_item[0]])
ImGui.End()
ImGui.SetNextWindowClass(wc_topmost)
ImGui.SetNextWindowSize(Vector2(200, 200), ImGui.Cond_Once)
ImGui.Begin("topmost viewport window")
ImGui.TextWrapped("when this is a viewport window outside the main window, it will stay on top")
ImGui.End()
ImGui.SetNextWindowClass(wc_topmost)
ImGui.SetNextWindowSize(Vector2(200, 200), ImGui.Cond_Once)
ImGui.Begin("topmost viewport window")
ImGui.TextWrapped("when this is a viewport window outside the main window, it will stay on top")
ImGui.End()
func _physics_process(_delta: float) -> void:
anim_counter += 1
if anim_counter >= 10:
anim_counter = 0
values.push_back(values.pop_front())
anim_counter += 1
if anim_counter >= 10:
anim_counter = 0
values.push_back(values.pop_front())