File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -46,16 +46,10 @@ jobs:
4646 cmake --build . --config=${{matrix.build_type}}
4747
4848 - name : Install the Test
49- working-directory : ./Build/Tests
49+ working-directory : ./Build/
5050 run : |
5151 cmake --install ./ --config=${{matrix.build_type}}
5252
53- - name : Run the Test
54- working-directory : ./Tests/Install/${{matrix.build_type}}
55- run : |
56- ./DiscordCoreAPITest.exe
57- continue-on-error : true
58-
5953 - name : Clone DiscordCoreAPI-Binaries repository
6054 run : |
6155 git clone https://github.com/RealTimeChris/DiscordCoreAPI-Binaries.git ./DiscordCoreAPI-Binaries
@@ -65,12 +59,12 @@ jobs:
6559
6660 - name : Copy build artifacts to DiscordCoreAPI-Binaries
6761 run : |
68- cp -r ./Tests/ Install/${{matrix.build_type}}/* ./DiscordCoreAPI-Binaries/${{matrix.build_type}}
62+ cp -r ./Install/${{matrix.build_type}}/* ./DiscordCoreAPI-Binaries/${{matrix.build_type}}
6963
7064 - name : Commit and push changes to DiscordCoreAPI-Binaries
7165 working-directory : ./DiscordCoreAPI-Binaries
7266 run : |
7367 git add .
7468 git commit -m "Update binaries for ${{matrix.build_type}} build"
75- git push https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/RealTimeChris/DiscordCoreAPI-Binaries.git main
69+ git push https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/RealTimeChris/DiscordCoreAPI-Binaries.git main
7670 continue-on-error : true
Original file line number Diff line number Diff line change 7272 run : |
7373 git add .
7474 git commit -m "Update binaries for ${{matrix.build_type}} build"
75- git push https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/RealTimeChris/DiscordCoreAPI-Binaries.git main
75+ git push https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/RealTimeChris/DiscordCoreAPI-Binaries.git main
7676 continue-on-error : true
Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ else()
110110 check_instruction_set("Avx2" "-mavx2;-mavx;-mlzcnt;-mpopcnt;-mbmi;-mbmi2" 0x40)
111111 check_instruction_set("Avx512" "-mavx512f;-mavx2;-mavx;-mlzcnt;-mpopcnt;-mbmi;-mbmi2" 0x80)
112112endif ()
113+ else ()
114+ set (DCA_CPU_INSTRUCTIONS "0" )
113115endif ()
114116set (AVX_FLAG "${AVX_FLAG} " CACHE STRING "AVX flags" FORCE)
115117set (DCA_CPU_INSTRUCTIONS "${DCA_CPU_INSTRUCTIONS} " CACHE STRING "CPU Instruction Sets" FORCE)
You can’t perform that action at this time.
0 commit comments