Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create test #5

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 10 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
git clone https://github.com/ebiggers/libdeflate.git $workspace/libs/ebiggers/libdeflate
cd $workspace/libs/ebiggers/libdeflate
make libdeflatestatic.lib
cmake -B build && cmake --build build
mkdir -p /usr/local/lib/
mkdir -p /usr/local/include/
cp libdeflatestatic.lib /usr/local/lib/
Expand Down Expand Up @@ -96,21 +96,14 @@ jobs:
brew install gmp
sudo rm /usr/local/opt/gmp/lib/libgmp.10.dylib

- name: Install OpenSSL
run: |
brew install openssl@3
sudo rm /usr/local/opt/openssl@3/lib/libcrypto.3.dylib
sudo rm /usr/local/opt/openssl@3/lib/libssl.3.dylib
cp -R /usr/local/opt/openssl@3/lib/. /usr/local/lib/
cp -R /usr/local/opt/openssl@3/include/. /usr/local/include/

- name: Install libdeflate
run: |
git clone https://github.com/ebiggers/libdeflate.git ${{github.workspace}}/libs/ebiggers/libdeflate
cd ${{github.workspace}}/libs/ebiggers/libdeflate
sudo make libdeflate.a
sudo mv libdeflate.a /usr/local/lib/libdeflate.a
sudo mv libdeflate.h /usr/local/include/libdeflate.h
git clone https://github.com/ebiggers/libdeflate.git ${{github.workspace}}/libs/ebiggers/libdeflate
cd ${{github.workspace}}/libs/ebiggers/libdeflate
cmake -B build && cmake --build ${{github.workspace}}/libs/ebiggers/libdeflate/build
sudo mv libdeflate.h /usr/local/include/libdeflate.h
cd ${{github.workspace}}/libs/ebiggers/libdeflate/build
sudo mv libdeflate.a /usr/local/lib/libdeflate.a

- name: Configure CMake
run: |
Expand Down Expand Up @@ -159,9 +152,10 @@ jobs:
run: |
git clone https://github.com/ebiggers/libdeflate.git ${{github.workspace}}/libs/ebiggers/libdeflate
cd ${{github.workspace}}/libs/ebiggers/libdeflate
sudo make libdeflate.a
sudo mv libdeflate.a /usr/local/lib/libdeflate.a
cmake -B build && cmake --build ${{github.workspace}}/libs/ebiggers/libdeflate/build
sudo mv libdeflate.h /usr/local/include/libdeflate.h
cd ${{github.workspace}}/libs/ebiggers/libdeflate/build
sudo mv libdeflate.a /usr/local/lib/libdeflate.a

- name: Configure CMake
run: |
Expand Down
4 changes: 4 additions & 0 deletions i dont know
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#i try to fix the build.yml bruh (windows fix needet)
error while loading shared libraries: libcrypto.so.3: cannot open shared objectfile: no such file or directory
great libarys missing using an autdated
its just to download an completely uptodate debian me who uses debian 11 easy notxd
6 changes: 3 additions & 3 deletions src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
#define __WINDOWS__
#endif

#define __MC_VER__ "1.18"
#define __MC_PRO__ 757
#define __MC_VER__ "1.20.4"
#define __MC_PRO__ 765
//755

#define __MOTOR_VER__ "MotorMC InDev 0.0.4"
#define __MOTOR_VER__ "MotorMC InDev 0.0.5"
#define __MOTOR_UNSAFE__ 1

#define UNSET 2
Expand Down