@@ -43,25 +43,25 @@ jobs:
43
43
get-update-version :
44
44
uses : ./.github/workflows/template-get-update-version.yml
45
45
46
- get-cortex- llamacpp-latest-version :
46
+ get-llamacpp-latest-version :
47
47
uses : ./.github/workflows/template-cortex-llamacpp-latest-version.yml
48
48
49
49
build-macos :
50
50
uses : ./.github/workflows/template-build-macos.yml
51
- needs : [get-update-version, set-public-provider, get-cortex- llamacpp-latest-version]
51
+ needs : [get-update-version, set-public-provider, get-llamacpp-latest-version]
52
52
secrets : inherit
53
53
with :
54
54
ref : ${{ needs.set-public-provider.outputs.ref }}
55
55
public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
56
56
new_version : ${{ needs.get-update-version.outputs.new_version }}
57
57
cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake"
58
58
channel : nightly
59
- cortex- llamacpp-version : ${{ needs.get-cortex- llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
59
+ llamacpp-version : ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
60
60
61
61
build-windows-x64 :
62
62
uses : ./.github/workflows/template-build-windows-x64.yml
63
63
secrets : inherit
64
- needs : [get-update-version, set-public-provider, get-cortex- llamacpp-latest-version]
64
+ needs : [get-update-version, set-public-provider, get-llamacpp-latest-version]
65
65
with :
66
66
ref : ${{ needs.set-public-provider.outputs.ref }}
67
67
public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
@@ -71,40 +71,40 @@ jobs:
71
71
build-deps-cmake-flags : " -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -GNinja"
72
72
ccache-dir : ' C:\Users\ContainerAdministrator\AppData\Local\ccache'
73
73
channel : nightly
74
- cortex- llamacpp-version : ${{ needs.get-cortex- llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
74
+ llamacpp-version : ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
75
75
76
76
build-linux-x64 :
77
77
uses : ./.github/workflows/template-build-linux.yml
78
78
secrets : inherit
79
- needs : [get-update-version, set-public-provider, get-cortex- llamacpp-latest-version]
79
+ needs : [get-update-version, set-public-provider, get-llamacpp-latest-version]
80
80
with :
81
81
ref : ${{ needs.set-public-provider.outputs.ref }}
82
82
public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
83
83
new_version : ${{ needs.get-update-version.outputs.new_version }}
84
84
runs-on : ubuntu-20-04
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
- cortex- llamacpp-version : ${{ needs.get-cortex- llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
87
+ llamacpp-version : ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
88
88
arch : amd64
89
89
90
90
build-linux-arm64 :
91
91
uses : ./.github/workflows/template-build-linux.yml
92
92
secrets : inherit
93
- needs : [get-update-version, set-public-provider, get-cortex- llamacpp-latest-version]
93
+ needs : [get-update-version, set-public-provider, get-llamacpp-latest-version]
94
94
with :
95
95
ref : ${{ needs.set-public-provider.outputs.ref }}
96
96
public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
97
97
new_version : ${{ needs.get-update-version.outputs.new_version }}
98
98
runs-on : ubuntu-2004-arm64
99
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
100
channel : nightly
101
- cortex- llamacpp-version : ${{ needs.get-cortex- llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
101
+ llamacpp-version : ${{ needs.get-llamacpp-latest-version.outputs.llamacpp_latest_version }}
102
102
arch : arm64
103
103
104
104
update-latest-version :
105
105
runs-on : ubuntu-latest
106
106
if : needs.set-public-provider.outputs.public_provider == 'aws-s3'
107
- needs : [get-update-version, set-public-provider, build-linux-x64, build-linux-arm64, 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-llamacpp-latest-version]
108
108
steps :
109
109
- name : Update latest version
110
110
id : update-latest-version
@@ -132,7 +132,7 @@ jobs:
132
132
if : needs.set-public-provider.outputs.public_provider == 'aws-s3'
133
133
uses : ./.github/workflows/template-build-docker-x64.yml
134
134
secrets : inherit
135
- needs : [get-update-version, set-public-provider, get-cortex- llamacpp-latest-version, update-latest-version]
135
+ needs : [get-update-version, set-public-provider, get-llamacpp-latest-version, update-latest-version]
136
136
with :
137
137
ref : ${{ needs.set-public-provider.outputs.ref }}
138
138
new_version : nightly-${{ needs.get-update-version.outputs.new_version }}
@@ -141,7 +141,7 @@ jobs:
141
141
tags : menloltd/cortex:nightly-${{ needs.get-update-version.outputs.new_version }}
142
142
143
143
noti-discord-nightly-and-update-url-readme :
144
- needs : [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-cortex- llamacpp-latest-version, update-latest-version, build-docker-x64]
144
+ needs : [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-llamacpp-latest-version, update-latest-version, build-docker-x64]
145
145
secrets : inherit
146
146
if : github.event_name == 'schedule'
147
147
uses : ./.github/workflows/template-noti-discord.yaml
@@ -150,7 +150,7 @@ jobs:
150
150
new_version : ${{ needs.get-update-version.outputs.new_version }}
151
151
152
152
noti-discord-manual :
153
- needs : [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-cortex- llamacpp-latest-version, build-docker-x64]
153
+ needs : [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-llamacpp-latest-version, build-docker-x64]
154
154
secrets : inherit
155
155
if : github.event_name == 'workflow_dispatch' && github.event.inputs.public_provider == 'aws-s3'
156
156
uses : ./.github/workflows/template-noti-discord.yaml
0 commit comments