Skip to content

Commit c000061

Browse files
committed
DiscordCoreAPI Release 2.0.8
* Updated to keep in track with Jsonifier dependency. * Removed the compile-time CPU architecture script.
1 parent 58bb3c3 commit c000061

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1022
-1322
lines changed

.github/workflows/CLANG-Ubuntu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Configure CMake
5050
working-directory: ./
5151
run: |
52-
cmake -S . -B ./Build -DCMAKE_CXX_COMPILER=/usr/bin/clang++-19 -DDEV=true -DDISCORDCOREAPI_TEST=true -DVCPKG_ROOT_DIR="/usr/local/share/vcpkg/"
52+
cmake -S . -B ./Build -DCMAKE_CXX_COMPILER=/usr/bin/clang++-19 -DDISCORDCOREAPI_TEST=true -DVCPKG_ROOT_DIR="/usr/local/share/vcpkg/"
5353
5454
- name: Build the Test
5555
working-directory: ./Build

.github/workflows/GCC-MacOS.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Configure CMake
6565
working-directory: ./
6666
run: |
67-
cmake -S . -B ./Build -DCMAKE_CXX_COMPILER=/usr/bin/g++-14 -DDEV=true -DDISCORDCOREAPI_TEST=true -DVCPKG_ROOT_DIR=/usr/local/share/vcpkg
67+
cmake -S . -B ./Build -DCMAKE_CXX_COMPILER=/usr/bin/g++-14 -DDISCORDCOREAPI_TEST=true -DVCPKG_ROOT_DIR=/usr/local/share/vcpkg
6868
6969
- name: Build the Test
7070
working-directory: ./Build

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

+6-10
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,18 @@ jobs:
3838
- name: Configure CMake
3939
working-directory: ./
4040
run: |
41-
cmake -S . -B ./Build -DDEV=true -DVCPKG_ROOT_DIR=C:/vcpkg
41+
cmake -S . -B ./Build -DVCPKG_ROOT_DIR=C:/vcpkg
4242
4343
- name: Build the Test
4444
working-directory: ./Build
4545
run: |
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,14 @@ 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 -Force "C:/Program Files (x86)/DiscordCoreAPI/*" ./DiscordCoreAPI-Binaries/${{matrix.build_type}} -v
63+
cd ./DiscordCoreAPI-Binaries/${{matrix.build_type}}
64+
Remove-Item -Force ./bin/discordcoreapi.pdb
6965
7066
- name: Commit and push changes to DiscordCoreAPI-Binaries
7167
working-directory: ./DiscordCoreAPI-Binaries
7268
run: |
7369
git add .
7470
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
71+
git push https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/RealTimeChris/DiscordCoreAPI-Binaries.git main
7672
continue-on-error: true

.github/workflows/MSVC-Windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Configure CMake
3939
working-directory: ./
4040
run: |
41-
cmake -S . -B ./Build -DDEV=true -DDISCORDCOREAPI_TEST=true -DVCPKG_ROOT_DIR=C:/vcpkg
41+
cmake -S . -B ./Build -DDISCORDCOREAPI_TEST=true -DVCPKG_ROOT_DIR=C:/vcpkg
4242
4343
- name: Build the Test
4444
working-directory: ./Build
@@ -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/BuildFeatureTester.bat

-2
This file was deleted.

CMake/BuildFeatureTester.sh

-3
This file was deleted.

CMake/CMakeLists.txt

-5
This file was deleted.

CMake/DCADetectArchitecture.cmake

-115
This file was deleted.

CMake/main.cpp

-184
This file was deleted.

0 commit comments

Comments
 (0)