mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
fix readme indentation + print debug messages
This commit is contained in:
parent
0f291cc07d
commit
3b536044be
38
.github/workflows/emu-build-all-linux.yml
vendored
38
.github/workflows/emu-build-all-linux.yml
vendored
@ -78,6 +78,31 @@ jobs:
|
|||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: sudo chmod -R 777 "${{ github.workspace }}"
|
run: sudo chmod -R 777 "${{ github.workspace }}"
|
||||||
|
|
||||||
|
### debug print dirs
|
||||||
|
- name: Debug print dirs
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
run: |
|
||||||
|
ls -la ./build/deps/linux/*
|
||||||
|
ls -la ./build/deps/linux/gmake2/protobuf/install32/bin/*
|
||||||
|
ls -la ./build/deps/linux/gmake2/protobuf/install64/bin/*
|
||||||
|
|
||||||
|
### generate from .proto file
|
||||||
|
- name: Generate from .proto file
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
run: |
|
||||||
|
sudo chmod 777 ./${{env.THIRD_PARTY_BASE_DIR}}/common/linux/premake/premake5
|
||||||
|
./${{env.THIRD_PARTY_BASE_DIR}}/common/linux/premake/premake5 --file=premake5.lua --os=linux genproto
|
||||||
|
|
||||||
|
### generate project files
|
||||||
|
- name: Generate project files
|
||||||
|
shell: bash
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
run: |
|
||||||
|
sudo chmod 777 ./${{env.THIRD_PARTY_BASE_DIR}}/common/linux/premake/premake5
|
||||||
|
./${{env.THIRD_PARTY_BASE_DIR}}/common/linux/premake/premake5 --file=premake5.lua --emubuild=${{ github.sha }} --os=linux gmake2
|
||||||
|
|
||||||
## mandatory Linux packages
|
## mandatory Linux packages
|
||||||
- name: Install required packages
|
- name: Install required packages
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -92,17 +117,8 @@ jobs:
|
|||||||
sudo apt install -y libgl-dev # needed for overlay build (header files such as GL/gl.h)
|
sudo apt install -y libgl-dev # needed for overlay build (header files such as GL/gl.h)
|
||||||
# sudo apt install -y binutils # (optional) contains the tool 'readelf' mainly, and other usefull binary stuff
|
# sudo apt install -y binutils # (optional) contains the tool 'readelf' mainly, and other usefull binary stuff
|
||||||
|
|
||||||
### generate from .proto file
|
### build target
|
||||||
- name: Generate from .proto file
|
- name: Build target
|
||||||
shell: bash
|
|
||||||
working-directory: ${{ github.workspace }}
|
|
||||||
run: |
|
|
||||||
sudo chmod 777 ./${{env.THIRD_PARTY_BASE_DIR}}/common/linux/premake/premake5
|
|
||||||
./${{env.THIRD_PARTY_BASE_DIR}}/common/linux/premake/premake5 --file=premake5.lua --os=linux genproto
|
|
||||||
./${{env.THIRD_PARTY_BASE_DIR}}/common/linux/premake/premake5 --file=premake5.lua --emubuild=${{ github.sha }} --os=linux gmake2
|
|
||||||
|
|
||||||
### build target(s)
|
|
||||||
- name: Build target(s)
|
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{ github.workspace }}/build/project/gmake2/linux
|
working-directory: ${{ github.workspace }}/build/project/gmake2/linux
|
||||||
run: |
|
run: |
|
||||||
|
19
.github/workflows/emu-build-all-win.yml
vendored
19
.github/workflows/emu-build-all-win.yml
vendored
@ -85,16 +85,31 @@ jobs:
|
|||||||
ref: 'third-party/build/win'
|
ref: 'third-party/build/win'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/build/win"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/build/win"
|
||||||
|
|
||||||
|
### debug print dirs
|
||||||
|
- name: Debug print dirs
|
||||||
|
shell: cmd
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
run: |
|
||||||
|
dir /b /a build\deps\win\vs2022\*
|
||||||
|
dir /b /a build\deps\win\vs2022\protobuf\install32\bin\*
|
||||||
|
dir /b /a build\deps\win\vs2022\protobuf\install64\bin\*
|
||||||
|
|
||||||
### generate from .proto file
|
### generate from .proto file
|
||||||
- name: Generate from .proto file
|
- name: Generate from .proto file
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
"${{env.THIRD_PARTY_BASE_DIR}}\common\win\premake\premake5.exe" --file=premake5.lua --os=windows genproto
|
"${{env.THIRD_PARTY_BASE_DIR}}\common\win\premake\premake5.exe" --file=premake5.lua --os=windows genproto
|
||||||
|
|
||||||
|
### generate project files
|
||||||
|
- name: Generate project files
|
||||||
|
shell: cmd
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
run: |
|
||||||
"${{env.THIRD_PARTY_BASE_DIR}}\common\win\premake\premake5.exe" --file=premake5.lua --emubuild=${{ github.sha }} --dosstub --winrsrc --winsign --os=windows vs2022
|
"${{env.THIRD_PARTY_BASE_DIR}}\common\win\premake\premake5.exe" --file=premake5.lua --emubuild=${{ github.sha }} --dosstub --winrsrc --winsign --os=windows vs2022
|
||||||
|
|
||||||
### build target(s)
|
### build target
|
||||||
- name: Build target(s)
|
- name: Build target
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: ${{ github.workspace }}/build/project/vs2022/win
|
working-directory: ${{ github.workspace }}/build/project/vs2022/win
|
||||||
run: |
|
run: |
|
||||||
|
1
.github/workflows/emu-deps-win.yml
vendored
1
.github/workflows/emu-deps-win.yml
vendored
@ -78,6 +78,5 @@ jobs:
|
|||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
build_win_deps.bat -verbose
|
|
||||||
set "CMAKE_GENERATOR=Visual Studio 17 2022"
|
set "CMAKE_GENERATOR=Visual Studio 17 2022"
|
||||||
"${{env.THIRD_PARTY_BASE_DIR}}\common\win\premake\premake5.exe" --file=premake5-deps.lua --64-build --32-build --all-ext --all-build --verbose --clean --os=windows vs2022
|
"${{env.THIRD_PARTY_BASE_DIR}}\common\win\premake\premake5.exe" --file=premake5-deps.lua --64-build --32-build --all-ext --all-build --verbose --clean --os=windows vs2022
|
||||||
|
28
README.md
28
README.md
@ -95,20 +95,20 @@ You can also find instructions here in [README.release.md](./post_build/README.r
|
|||||||
|
|
||||||
* Ubuntu 22.04 LTS: https://ubuntu.com/download/desktop
|
* Ubuntu 22.04 LTS: https://ubuntu.com/download/desktop
|
||||||
* Ubuntu required packages:
|
* Ubuntu required packages:
|
||||||
```shell
|
```shell
|
||||||
sudo apt update -y
|
sudo apt update -y
|
||||||
sudo apt install -y coreutils # echo, printf, etc...
|
sudo apt install -y coreutils # echo, printf, etc...
|
||||||
sudo apt install -y build-essential
|
sudo apt install -y build-essential
|
||||||
sudo apt install -y gcc-multilib # needed for 32-bit builds
|
sudo apt install -y gcc-multilib # needed for 32-bit builds
|
||||||
sudo apt install -y g++-multilib
|
sudo apt install -y g++-multilib
|
||||||
sudo apt install -y libglx-dev # needed for overlay build (header files such as GL/glx.h)
|
sudo apt install -y libglx-dev # needed for overlay build (header files such as GL/glx.h)
|
||||||
sudo apt install -y libgl-dev # needed for overlay build (header files such as GL/gl.h)
|
sudo apt install -y libgl-dev # needed for overlay build (header files such as GL/gl.h)
|
||||||
```
|
```
|
||||||
*(Optional)* Additional packages
|
*(Optional)* Additional packages
|
||||||
```shell
|
```shell
|
||||||
sudo apt install -y clang # clang compiler
|
sudo apt install -y clang # clang compiler
|
||||||
sudo apt install -y binutils # contains the tool 'readelf' mainly, and other usefull binary stuff
|
sudo apt install -y binutils # contains the tool 'readelf' mainly, and other usefull binary stuff
|
||||||
```
|
```
|
||||||
* Python 3.10 or above
|
* Python 3.10 or above
|
||||||
```shell
|
```shell
|
||||||
sudo add-apt-repository ppa:deadsnakes/ppa -y
|
sudo add-apt-repository ppa:deadsnakes/ppa -y
|
||||||
|
@ -85,7 +85,7 @@ newaction {
|
|||||||
else
|
else
|
||||||
deps_install_prefix = 'install32'
|
deps_install_prefix = 'install32'
|
||||||
end
|
end
|
||||||
local protoc_exe = path.getabsolute(path.join(deps_dir, 'protobuf', deps_install_prefix, 'bin', 'protoc'), _MAIN_SCRIPT_DIR)
|
local protoc_exe = path.join(deps_dir, 'protobuf', deps_install_prefix, 'bin', 'protoc')
|
||||||
|
|
||||||
local out_dir = 'dll/proto_gen/' .. os_iden
|
local out_dir = 'dll/proto_gen/' .. os_iden
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ newaction {
|
|||||||
end
|
end
|
||||||
|
|
||||||
if not os.isfile(protoc_exe) then
|
if not os.isfile(protoc_exe) then
|
||||||
error("Error: protoc not found!")
|
error("protoc not found! " .. protoc_exe)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user