Skip to content

Commit 5379730

Browse files
committed
vthreads GH action
1 parent dd3fb67 commit 5379730

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/vthreads.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test VThreads
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
asyncRef:
7+
description: "The branch, tag or SHA to checkout"
8+
required: true
9+
default: 'master'
10+
11+
jobs:
12+
test:
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest] # macOS-latest, windows-latest]
16+
java-version: ["8", "11", "17", "21"]
17+
clojure-version: ["1.10.3", "1.11.4", "1.12.0"]
18+
runs-on: ${{ matrix.os }}
19+
steps:
20+
- name: Set up Clojure
21+
uses: DeLaGuardo/[email protected]
22+
with:
23+
cli: 'latest'
24+
- name: Checkout Clojure Source Code
25+
uses: actions/checkout@v4
26+
with:
27+
ref: ${{ github.event.inputs.asyncRef }}
28+
- name: Set up Java
29+
uses: actions/setup-java@v4
30+
with:
31+
java-version: ${{ matrix.java-version }}
32+
distribution: 'temurin'
33+
cache: 'maven'
34+
- name: test with test-runner
35+
run: clj -X:dev:test -Sdeps '{:deps {org.clojure/clojure {:mvn/version ${{ matrix.clojure-version }} }}}' :dirs '["src/test/clojure"]'

0 commit comments

Comments
 (0)