Skip to content

Commit c20e96f

Browse files
authored
CI: Update Julia versions (#684)
* CI: Update Julia versions * fix failures on x64 systems * fix more failures on x86 systems
1 parent ca265c6 commit c20e96f

3 files changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/CI.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- master
7-
tags: '*'
7+
88
jobs:
99
test:
1010
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -13,30 +13,30 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
include:
16-
# - version: '1' # current stable
17-
# os: ubuntu-latest
18-
# arch: x64
19-
- version: '1.12-nightly' # lowest version supported
16+
- version: '1' # current stable
17+
os: ubuntu-latest
18+
arch: x64
19+
- version: '1.12' # lowest version supported
2020
os: ubuntu-latest
2121
arch: x64
2222
- version: '1.13-nightly' # next release
2323
os: ubuntu-latest
2424
arch: x64
25-
# - version: 'nightly' # dev
26-
# os: ubuntu-latest
27-
# arch: x64
28-
# - version: '1' # x86 ubuntu
29-
# os: ubuntu-latest
30-
# arch: x86
31-
# - version: '1' # x86 windows
32-
# os: windows-latest
33-
# arch: x86
34-
# - version: '1' # x64 windows
35-
# os: windows-latest
36-
# arch: x64
37-
# - version: '1' # x64 macOS
38-
# os: macos-latest
39-
# arch: x64
25+
- version: 'nightly' # dev
26+
os: ubuntu-latest
27+
arch: x64
28+
- version: '1' # x86 ubuntu
29+
os: ubuntu-latest
30+
arch: x86
31+
- version: '1' # x86 windows
32+
os: windows-latest
33+
arch: x86
34+
- version: '1' # x64 windows
35+
os: windows-latest
36+
arch: x64
37+
- version: '1' # x64 macOS
38+
os: macos-latest
39+
arch: x64
4040
steps:
4141
- uses: actions/checkout@v6
4242
- uses: julia-actions/setup-julia@v2

.github/workflows/TypedSyntaxCI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- master
7-
tags: '*'
7+
88
jobs:
99
test:
1010
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -15,7 +15,7 @@ jobs:
1515
version:
1616
# - '1'
1717
# - '1.12.0'
18-
- '1.12-nightly'
18+
- '1.12'
1919
- 'nightly'
2020
os:
2121
- ubuntu-latest

test/test_terminal.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ end
163163
# Native code view
164164
write(terminal, 'N')
165165
displayed, text = read_next(harness)
166-
@test occursin("retq", text)
166+
@test occursin(r"\bret[lq]?\b", text) # retq on x86-64, retl on x86, ret on ARM64
167167
@test occursin('[' * colorize(true, 'N') * "]ative", displayed)
168168
# Typed view (by selector)
169169
write(terminal, 'T')
@@ -209,12 +209,12 @@ end
209209
@test occursin("\nBody", text)
210210
@test occursin("\e[1m::Union{Float32, $Int}\e[22m\e[39m", displayed)
211211
@test occursin("Base.getindex(c)\e[91m\e[1m::Any\e[22m\e[39m", displayed)
212-
warncolor = if Cthulhu.is_expected_union(Union{Float32, Int64})
212+
warncolor = if Cthulhu.is_expected_union(Union{Float32, Int})
213213
Base.text_colors[Base.warn_color()]
214214
else
215215
Base.text_colors[Base.error_color()]
216216
end
217-
@test occursin("$(warncolor)%\e[39m3 = call → fmulti(::Any)::Union{Float32, Int64}", displayed)
217+
@test occursin("$(warncolor)%\e[39m3 = call → fmulti(::Any)::Union{Float32, $Int}", displayed)
218218
write(terminal, :down)
219219
write(terminal, :enter)
220220
displayed, text = read_next(harness)

0 commit comments

Comments
 (0)