6767 cortex-llamacpp-version : ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
6868
6969 build-linux-x64 :
70- uses : ./.github/workflows/template-build-linux-x64 .yml
70+ uses : ./.github/workflows/template-build-linux.yml
7171 secrets : inherit
7272 needs : [get-update-version, create-draft-release, get-cortex-llamacpp-latest-version]
7373 with :
7979 channel : beta
8080 upload_url : ${{ needs.create-draft-release.outputs.upload_url }}
8181 cortex-llamacpp-version : ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
82+ arch : amd64
83+
84+ build-linux-arm64 :
85+ uses : ./.github/workflows/template-build-linux.yml
86+ secrets : inherit
87+ needs : [get-update-version, create-draft-release, get-cortex-llamacpp-latest-version]
88+ with :
89+ ref : ${{ github.ref }}
90+ public_provider : github
91+ new_version : ${{ needs.get-update-version.outputs.new_version }}
92+ runs-on : ubuntu-2004-arm64
93+ cmake-flags : " -DCORTEX_VARIANT=beta -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/home/runner/actions-runner/_work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
94+ channel : beta
95+ upload_url : ${{ needs.create-draft-release.outputs.upload_url }}
96+ cortex-llamacpp-version : ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
97+ arch : arm64
8298
8399 build-docker-x64 :
84100 uses : ./.github/workflows/template-build-docker-x64.yml
@@ -111,7 +127,7 @@ jobs:
111127 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
112128
113129 noti-discord :
114- needs : [get-update-version, create-draft-release, build-macos, build-windows-x64, build-linux-x64, update_release]
130+ needs : [get-update-version, create-draft-release, build-macos, build-windows-x64, build-linux-x64, build-linux-arm64, update_release]
115131 runs-on : ubuntu-latest
116132 permissions :
117133 contents : write
@@ -136,9 +152,13 @@ jobs:
136152 - Network Installer: https://github.com/janhq/cortex.cpp/releases/download/v${{ env.VERSION }}/cortex-${{ env.VERSION }}-mac-universal-network-installer.pkg
137153 - Local Installer: https://github.com/janhq/cortex.cpp/releases/download/v${{ env.VERSION }}/cortex-${{ env.VERSION }}-mac-universal-local-installer.pkg
138154 - Binary: https://github.com/janhq/cortex.cpp/releases/download/v${{ env.VERSION }}/cortex-${{ env.VERSION }}-mac-universal.tar.gz
139- - Linux Deb:
155+ - Linux amd64 Deb:
140156 - Network Installer: https://github.com/janhq/cortex.cpp/releases/download/v${{ env.VERSION }}/cortex-${{ env.VERSION }}-linux-amd64-network-installer.deb
141157 - Local Installer: https://github.com/janhq/cortex.cpp/releases/download/v${{ env.VERSION }}/cortex-${{ env.VERSION }}-linux-amd64-local-installer.deb
142158 - Binary: https://github.com/janhq/cortex.cpp/releases/download/v${{ env.VERSION }}/cortex-${{ env.VERSION }}-linux-amd64.tar.gz
159+ - Linux arm64 Deb:
160+ - Network Installer: https://github.com/janhq/cortex.cpp/releases/download/v${{ env.VERSION }}/cortex-${{ env.VERSION }}-linux-arm64-network-installer.deb
161+ - Local Installer: https://github.com/janhq/cortex.cpp/releases/download/v${{ env.VERSION }}/cortex-${{ env.VERSION }}-linux-arm64-local-installer.deb
162+ - Binary: https://github.com/janhq/cortex.cpp/releases/download/v${{ env.VERSION }}/cortex-${{ env.VERSION }}-linux-arm64.tar.gz
143163 - Docker: menloltd/cortex:beta-${{ env.VERSION }}
144- - Github Release: https://github.com/janhq/cortex.cpp/releases/tag/v${{ env.VERSION }}
164+ - Github Release: https://github.com/janhq/cortex.cpp/releases/tag/v${{ env.VERSION }}
0 commit comments