Skip to content

Commit

Permalink
Github Actions - Fix various compilation errors and optimize Linux an…
Browse files Browse the repository at this point in the history
…d 32-bit Windows workflows
  • Loading branch information
MadDeCoDeR committed Feb 11, 2025
1 parent a88eaac commit a6062fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake_linux_x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
env:
CC: gcc-13
CXX: g++-13
run: cmake --build ${{github.workspace}}/build --parallel=16
run: cmake --build ${{github.workspace}}/build --parallel=16 --target DoomBFA

- name: Archive production artifacts
id: step8
Expand All @@ -83,7 +83,7 @@ jobs:
CC: gcc-13
CXX: g++-13
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --parallel=16
run: cmake --build ${{github.workspace}}/build --parallel=16 --target DoomBFA

- name: Archive debug artifacts
id: step11
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake_windows_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{inputs.build_type}}
run: MSBuild ${{github.workspace}}/build/DoomBFA.vcxproj -property:Configuration=${{inputs.build_type}}

- name: Archive production artifacts
uses: ./.github/actions/upload_artifact
Expand Down
8 changes: 1 addition & 7 deletions doomclassic/doom/info.h
Original file line number Diff line number Diff line change
Expand Up @@ -1173,14 +1173,8 @@ typedef struct state_s
// actionf_p2 action; // <- this was left
// int filler;
// };
#ifdef _MSC_VER

actionf_t action;
#else
struct {
actionf_p2 action;
// int filler;
};
#endif

int nextstate;
long misc1, misc2;
Expand Down
2 changes: 1 addition & 1 deletion neo/d3xp/Classic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#ifdef GAME_DLL
//GK: Declare the fuctions here
void idTest(const idCmdArgs& args);
void A_InstaKill(mobj_t* mo, void*);
void A_InstaKill(mobj_t* mo);

//GK: Declare custom Code Pointers here
dehcptr customcptr[] = {
Expand Down

0 comments on commit a6062fe

Please sign in to comment.