Skip to content

Commit

Permalink
attempt cljs testing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
seancorfield committed Sep 30, 2023
1 parent 25f4ac4 commit 08365df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-and-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
with:
distribution: 'adopt'
java-version: '11'
- name: Install Planck
run: add-apt-repository -y ppa:mfikes/planck && apt-get update -y && apt-get install -y planck
- name: Clojure CLI
uses: DeLaGuardo/setup-clojure@master
with:
Expand All @@ -28,7 +30,7 @@ jobs:
~/.cpcache
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }}
- name: Run Tests
run: clojure -T:build ci :snapshot true
run: clojure -T:build ci :cljs true :snapshot true
- name: Deploy Snapshot
run: clojure -T:build deploy :snapshot true
env:
Expand All @@ -39,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '14', '17' ]
java: [ '8', '11', '17', '20' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '14', '17' ]
java: [ '8', '11', '17', '20' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
Expand Down
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
(b/write-pom opts)
(println "\nCopying source...")
(b/copy-dir {:src-dirs ["resources" "src"] :target-dir class-dir})
(println "\nBuilding JAR...")
(println "\nBuilding JAR" (:jar-file opts) "...")
(b/jar opts))
opts)

Expand Down

0 comments on commit 08365df

Please sign in to comment.