Skip to content

Commit 0e6311d

Browse files
committed
test against Clojure 1.12
1 parent c169b37 commit 0e6311d

File tree

8 files changed

+15
-14
lines changed

8 files changed

+15
-14
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
os: [ubuntu-20.04, ubuntu-22.04]
17-
jdk: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]
16+
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
17+
jdk: [8, 11, 17, 21, 22, 23]
1818

1919
name: Test on ${{ matrix.os }} with JDK ${{ matrix.jdk }}
2020

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 0.5.5-SNAPSHOT (20XX-XX-XX)
22

3-
* Upgrade to [ASM 9.6][asm]
3+
* Upgrade to [ASM 9.7.1][asm]
4+
* Explicit support for Clojure 1.12
45

56
## 0.5.4 (2022-04-14)
67

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ RUN ./lein with-profile +1.7 deps
1212
RUN ./lein with-profile +1.9 deps
1313
RUN ./lein with-profile +1.10 deps
1414
RUN ./lein with-profile +1.11 deps
15+
RUN ./lein with-profile +1.12 deps

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</dependency>
3030
```
3131

32-
JDK versions 8 to 21 and Clojure versions 1.7 to 1.11 are currently [tested against][ci].
32+
LTS JDK versions 8, 11, 17 and 21 and Clojure versions 1.7 to 1.12 are currently [tested against][ci].
3333
</details>
3434

3535
### What is it?

deps.edn

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
{:deps
2-
{org.ow2.asm/asm {:mvn/version "9.6"}}}
2+
{org.ow2.asm/asm {:mvn/version "9.7.1"}}}

project.clj

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
:aliases {"test" ["with-profile" "+test" "run" "-m" "insn.test"]
1717
"test-all" ["do" "test,"
18+
"with-profile" "+1.12" "test,"
1819
"with-profile" "+1.11" "test,"
1920
"with-profile" "+1.10" "test,"
2021
"with-profile" "+1.9" "test,"
@@ -25,5 +26,6 @@
2526
:1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}
2627
:1.10 {:dependencies [[org.clojure/clojure "1.10.0"]]}
2728
:1.11 {:dependencies [[org.clojure/clojure "1.11.0"]]}
29+
:1.12 {:dependencies [[org.clojure/clojure "1.12.0"]]}
2830
:dev {:dependencies [[javax.xml.ws/jaxws-api "2.3.0"]]}
2931
:repl {:source-paths ["dev"]}})

src/insn/util.clj

+3-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,9 @@
198198
19 (get-opcode "V19")
199199
20 (get-opcode "V20")
200200
21 (get-opcode "V21")
201-
22 (get-opcode "V22")})
201+
22 (get-opcode "V22")
202+
23 (get-opcode "V23")
203+
24 (get-opcode "V24")})
202204

203205
(defmacro ^:no-doc check-valid
204206
"Get the value at `k` in map `m` or throw exception."

test-all-jdk.sh

+3-8
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,11 @@ deps=$insn.deps
1212

1313
jdks=(
1414
openjdk:8
15-
openjdk:9
16-
openjdk:10
1715
openjdk:11
18-
openjdk:12
19-
openjdk:13
20-
openjdk:14
21-
openjdk:15
22-
openjdk:16
2316
openjdk:17
24-
openjdk:18
17+
openjdk:21
18+
openjdk:22
19+
openjdk:23
2520
)
2621

2722
mkdir -p target

0 commit comments

Comments
 (0)