Skip to content

Commit c487894

Browse files
committed
DiscordCoreAPI Release 2.0.8
* Updated to keep in track with Jsonifier dependency. * Added a detect-cpu-architecture script.
1 parent 58bb3c3 commit c487894

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.github/workflows/MSVC-Windows-Binaries.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/MSVC-Windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ jobs:
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

CMake/DCADetectArchitecture.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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)
112112
endif()
113+
else()
114+
set(DCA_CPU_INSTRUCTIONS "0")
113115
endif()
114116
set(AVX_FLAG "${AVX_FLAG}" CACHE STRING "AVX flags" FORCE)
115117
set(DCA_CPU_INSTRUCTIONS "${DCA_CPU_INSTRUCTIONS}" CACHE STRING "CPU Instruction Sets" FORCE)

0 commit comments

Comments
 (0)