74
74
cortex-llamacpp-version : ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
75
75
76
76
build-linux-x64 :
77
- uses : ./.github/workflows/template-build-linux-x64 .yml
77
+ uses : ./.github/workflows/template-build-linux.yml
78
78
secrets : inherit
79
79
needs : [get-update-version, set-public-provider, get-cortex-llamacpp-latest-version]
80
80
with :
@@ -85,11 +85,26 @@ jobs:
85
85
cmake-flags : " -DCORTEX_VARIANT=nightly -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"
86
86
channel : nightly
87
87
cortex-llamacpp-version : ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
88
+ arch : amd64
89
+
90
+ build-linux-arm64 :
91
+ uses : ./.github/workflows/template-build-linux.yml
92
+ secrets : inherit
93
+ needs : [get-update-version, set-public-provider, get-cortex-llamacpp-latest-version]
94
+ with :
95
+ ref : ${{ needs.set-public-provider.outputs.ref }}
96
+ public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
97
+ new_version : ${{ needs.get-update-version.outputs.new_version }}
98
+ runs-on : ubuntu-2004-arm64
99
+ cmake-flags : " -DCORTEX_VARIANT=nightly -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"
100
+ channel : nightly
101
+ cortex-llamacpp-version : ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
102
+ arch : arm64
88
103
89
104
update-latest-version :
90
105
runs-on : ubuntu-latest
91
106
if : needs.set-public-provider.outputs.public_provider == 'aws-s3'
92
- needs : [get-update-version, set-public-provider, build-linux-x64, build-macos, build-windows-x64, get-cortex-llamacpp-latest-version]
107
+ needs : [get-update-version, set-public-provider, build-linux-x64, build-linux-arm64, build- macos, build-windows-x64, get-cortex-llamacpp-latest-version]
93
108
steps :
94
109
- name : Update latest version
95
110
id : update-latest-version
@@ -100,9 +115,11 @@ jobs:
100
115
aws s3 cp s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/temp-latest/mac-universal-cortex-nightly.tar.gz s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/latest/mac-arm64/cortex-nightly.tar.gz
101
116
aws s3 cp s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/temp-latest/mac-universal-cortex-nightly.tar.gz s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/latest/mac-universal/cortex-nightly.tar.gz
102
117
aws s3 cp s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/temp-latest/linux-amd64-cortex-nightly.tar.gz s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/latest/linux-amd64/cortex-nightly.tar.gz
118
+ aws s3 cp s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/temp-latest/linux-arm64-cortex-nightly.tar.gz s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/latest/linux-arm64/cortex-nightly.tar.gz
103
119
aws s3 cp s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/temp-latest/windows-amd64-cortex-nightly.tar.gz s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/latest/windows-amd64/cortex-nightly.tar.gz
104
120
aws s3 cp s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/temp-latest/cortex-mac-universal-network-installer.pkg s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/latest/mac-universal/cortex-mac-universal-network-installer.pkg
105
121
aws s3 cp s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/temp-latest/cortex-linux-amd64-network-installer.deb s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/latest/linux-amd64/cortex-linux-amd64-network-installer.deb
122
+ aws s3 cp s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/temp-latest/cortex-linux-arm64-network-installer.deb s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/latest/linux-arm64/cortex-linux-arm64-network-installer.deb
106
123
aws s3 cp s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/temp-latest/cortex-windows-amd64-network-installer.exe s3://${{ secrets.DELTA_AWS_S3_BUCKET_NAME }}/cortex/latest/windows-amd64/cortex-windows-amd64-network-installer.exe
107
124
108
125
env :
0 commit comments