Skip to content

Commit 860534a

Browse files
committed
Initial commit: superlinked-clj multi-space vector embedding library
0 parents  commit 860534a

42 files changed

Lines changed: 3003 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-java@v4
17+
with:
18+
distribution: temurin
19+
java-version: 21
20+
21+
- uses: DeLaGuardo/setup-clojure@13.1
22+
with:
23+
lein: latest
24+
25+
- uses: actions/cache@v4
26+
with:
27+
path: |
28+
~/.m2/repository
29+
~/.djl.ai
30+
key: ${{ runner.os }}-lein-${{ hashFiles('project.clj') }}
31+
restore-keys: |
32+
${{ runner.os }}-lein-
33+
34+
- name: Run tests
35+
run: lein test

.github/workflows/deploy.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Deploy to Clojars
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: actions/setup-java@v4
15+
with:
16+
distribution: temurin
17+
java-version: 21
18+
19+
- uses: DeLaGuardo/setup-clojure@13.1
20+
with:
21+
lein: latest
22+
23+
- uses: actions/cache@v4
24+
with:
25+
path: |
26+
~/.m2/repository
27+
~/.djl.ai
28+
key: ${{ runner.os }}-lein-${{ hashFiles('project.clj') }}
29+
restore-keys: |
30+
${{ runner.os }}-lein-
31+
32+
- name: Run tests
33+
run: lein test
34+
35+
deploy:
36+
needs: test
37+
runs-on: ubuntu-latest
38+
39+
steps:
40+
- uses: actions/checkout@v4
41+
42+
- uses: actions/setup-java@v4
43+
with:
44+
distribution: temurin
45+
java-version: 21
46+
47+
- uses: DeLaGuardo/setup-clojure@13.1
48+
with:
49+
lein: latest
50+
51+
- uses: actions/cache@v4
52+
with:
53+
path: ~/.m2/repository
54+
key: ${{ runner.os }}-lein-${{ hashFiles('project.clj') }}
55+
restore-keys: |
56+
${{ runner.os }}-lein-
57+
58+
- name: Deploy to Clojars
59+
env:
60+
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
61+
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}
62+
run: lein deploy clojars

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# IDE files
2+
.idea/
3+
.claude/
4+
5+
# Leiningen
6+
target/
7+
.lein-deps-sum
8+
.lein-repl-history
9+
.lein-plugins/
10+
.lein-failures
11+
.nrepl-port
12+
.cpcache/
13+
14+
# OS files
15+
.DS_Store
16+
Thumbs.db
17+
18+
# Temporary files
19+
*.tmp
20+
*.swp
21+
*~
22+
23+
# Test artifacts
24+
test-index.jsonl
25+
test-index.edn

0 commit comments

Comments
 (0)