Skip to content

Commit 650cb20

Browse files
Fix native-image build failures
- Add (:gen-class) to uap-clj.core ns form so AOT compilation produces the uap_clj.core class needed by native-image as main entry point - Remove macos-13 matrix entry (runner no longer available); macOS builds now only target arm64 via macos-14
1 parent 71759d5 commit 650cb20

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/native-image.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
include:
2323
- os: ubuntu-latest
2424
artifact: uap-clj-linux-amd64
25-
- os: macos-13
26-
artifact: uap-clj-macos-amd64
2725
- os: macos-14
2826
artifact: uap-clj-macos-arm64
2927

src/uap_clj/core.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
(ns uap-clj.core
22
"Core library with entrypoint main function"
3+
(:gen-class)
34
(:require
45
[clojure.java.io :as io]
56
[clojure.string :as s :refer [join trim]]

0 commit comments

Comments
 (0)