@@ -46,32 +46,16 @@ jobs:
4646 get-cortex-llamacpp-latest-version :
4747 uses : ./.github/workflows/template-cortex-llamacpp-latest-version.yml
4848
49- build-macos-x64 :
49+ build-macos :
5050 uses : ./.github/workflows/template-build-macos.yml
5151 needs : [get-update-version, set-public-provider, get-cortex-llamacpp-latest-version]
5252 secrets : inherit
5353 with :
5454 ref : ${{ needs.set-public-provider.outputs.ref }}
5555 public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
5656 new_version : ${{ needs.get-update-version.outputs.new_version }}
57- runs-on : macos-12
58- cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DCMAKE_TOOLCHAIN_FILE=/Users/runner/work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
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"
5958 channel : nightly
60- arch : amd64
61- cortex-llamacpp-version : ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
62-
63- build-macos-arm64 :
64- uses : ./.github/workflows/template-build-macos.yml
65- needs : [get-update-version, set-public-provider, get-cortex-llamacpp-latest-version]
66- secrets : inherit
67- with :
68- ref : ${{ needs.set-public-provider.outputs.ref }}
69- public_provider : ${{ needs.set-public-provider.outputs.public_provider }}
70- new_version : ${{ needs.get-update-version.outputs.new_version }}
71- runs-on : macos-latest
72- cmake-flags : " -DCORTEX_VARIANT=nightly -DCORTEX_CPP_VERSION='v${{ needs.get-update-version.outputs.new_version }}' -DMAC_ARM64=ON -DCMAKE_TOOLCHAIN_FILE=/Users/runner/work/cortex.cpp/cortex.cpp/engine/vcpkg/scripts/buildsystems/vcpkg.cmake"
73- channel : nightly
74- arch : arm64
7559 cortex-llamacpp-version : ${{ needs.get-cortex-llamacpp-latest-version.outputs.cortex_llamacpp_latest_version }}
7660
7761 build-windows-x64 :
10589 update-latest-version :
10690 runs-on : ubuntu-latest
10791 if : needs.set-public-provider.outputs.public_provider == 'aws-s3'
108- needs : [get-update-version, set-public-provider, build-linux-x64, build-macos-x64, build-macos-arm64 , build-windows-x64, get-cortex-llamacpp-latest-version]
92+ needs : [get-update-version, set-public-provider, build-linux-x64, build-macos, build-windows-x64, get-cortex-llamacpp-latest-version]
10993 steps :
11094 - name : Update latest version
11195 id : update-latest-version
@@ -124,7 +108,7 @@ jobs:
124108 AWS_EC2_METADATA_DISABLED : " true"
125109
126110 noti-discord-nightly-and-update-url-readme :
127- needs : [build-macos-x64, build-macos-arm64 , build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-cortex-llamacpp-latest-version, update-latest-version]
111+ needs : [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-cortex-llamacpp-latest-version, update-latest-version]
128112 secrets : inherit
129113 if : github.event_name == 'schedule'
130114 uses : ./.github/workflows/template-noti-discord.yaml
@@ -133,7 +117,7 @@ jobs:
133117 new_version : ${{ needs.get-update-version.outputs.new_version }}
134118
135119 noti-discord-manual :
136- needs : [build-macos-x64, build-macos-arm64 , build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-cortex-llamacpp-latest-version]
120+ needs : [build-macos, build-windows-x64, build-linux-x64, get-update-version, set-public-provider, get-cortex-llamacpp-latest-version]
137121 secrets : inherit
138122 if : github.event_name == 'workflow_dispatch' && github.event.inputs.public_provider == 'aws-s3'
139123 uses : ./.github/workflows/template-noti-discord.yaml
0 commit comments