diff --git a/.github/workflows/emu-build-all-linux.yml b/.github/workflows/emu-build-all-linux.yml index 2604af33..eddf5072 100644 --- a/.github/workflows/emu-build-all-linux.yml +++ b/.github/workflows/emu-build-all-linux.yml @@ -87,21 +87,13 @@ jobs: 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 + ./${{env.THIRD_PARTY_BASE_DIR}}/common/linux/premake/premake5 --file=premake5.lua --genproto --emubuild=${{ github.sha }} --os=linux gmake2 ## mandatory Linux packages - name: Install required packages diff --git a/.github/workflows/emu-build-all-win.yml b/.github/workflows/emu-build-all-win.yml index 7d919d25..688413e6 100644 --- a/.github/workflows/emu-build-all-win.yml +++ b/.github/workflows/emu-build-all-win.yml @@ -94,19 +94,12 @@ jobs: dir /b /a build\deps\win\vs2022\protobuf\install32\bin\* dir /b /a build\deps\win\vs2022\protobuf\install64\bin\* -### generate from .proto file - - name: Generate from .proto file - shell: cmd - working-directory: ${{ github.workspace }} - run: | - "${{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 --genproto --emubuild=${{ github.sha }} --dosstub --winrsrc --winsign --os=windows vs2022 ### build target - name: Build target diff --git a/README.md b/README.md index 0b910c61..281a98bb 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ This will: Open CMD in the repo folder, then run the following * For `MSYS2` ```shell - ./third-party/common/win/premake/premake5.exe --file=premake5.lua --os=windows gmake2 + ./third-party/common/win/premake/premake5.exe --file=premake5.lua --genproto --os=windows gmake2 cd ./build/project/gmake2/win ``` @@ -201,7 +201,7 @@ Open CMD in the repo folder, then run the following ``` * For `Visual Studio 2022` ```batch - third-party\common\win\premake\premake5.exe --file=premake5.lua --os=windows vs2022 + third-party\common\win\premake\premake5.exe --file=premake5.lua --genproto --os=windows vs2022 ``` You can then go to the folder `build\project\vs2022\win` and open the produced `.sln` file in Visual Studio. Or, if you prefer to do it from command line, open the `Developer Command Prompt for VS 2022` inside the above folder, then: @@ -219,7 +219,7 @@ This will build a release version of the emu in the folder `build\win\