mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +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
|
||||||
|
@ -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