From 39af06e524795f3df83fe2528ccac49e3abd3fbf Mon Sep 17 00:00:00 2001 From: Cekis Date: Tue, 9 Nov 2021 22:13:57 -0800 Subject: [PATCH 01/10] Update README.md Added reference to new 64 bit branch --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3ad7cb7b..b9a0580b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This is the main server code for SWGSource 1.2 as originally forked from the https://bitbucket.org/stellabellumswg/ repository. Please see that repository for original publication and alteration credit. # Works in progress -* testing-64 - fully 64 bit version thatbuilds but doesn't run, some typedefs and things are wrong +* 64-bit-types - fully 64 bit version that builds and runs in RELWITHDEBINFO mode only, but isn't stable. # Building @@ -37,4 +37,4 @@ See http://clang.llvm.org/docs/UsersManual.html#profiling-with-instrumentation f See http://www.swgsource.com/ for more information on the SWG Source project. -Join the SWGSource Discord if you would like to contribute: https://discord.gg/j53cMj9 \ No newline at end of file +Join the SWGSource Discord if you would like to contribute: https://discord.gg/j53cMj9 From f9deb62de2a38347f178b4b4f6286e52b047fd42 Mon Sep 17 00:00:00 2001 From: Cekis Date: Tue, 9 Nov 2021 22:26:06 -0800 Subject: [PATCH 02/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b9a0580b..600a770f 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,6 @@ See http://clang.llvm.org/docs/UsersManual.html#profiling-with-instrumentation f # More Information -See http://www.swgsource.com/ for more information on the SWG Source project. +See https://swg-source.github.io/ for more information on the SWG Source project. Join the SWGSource Discord if you would like to contribute: https://discord.gg/j53cMj9 From b401b7110a64decd4073faf7b644d8c6dc0893da Mon Sep 17 00:00:00 2001 From: Cekis Date: Thu, 18 Nov 2021 13:03:54 -0800 Subject: [PATCH 03/10] Update README.md --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 600a770f..ac75b13c 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,15 @@ This is the main server code for SWGSource 1.2 as originally forked from the https://bitbucket.org/stellabellumswg/ repository. Please see that repository for original publication and alteration credit. # Works in progress -* 64-bit-types - fully 64 bit version that builds and runs in RELWITHDEBINFO mode only, but isn't stable. +* 64-bit-types - fully 64 bit version that builds and runs completely. # Building -## Clang Versions - -**Important**: For versions of clang <= 4 you'll probably have to remove/omit a deprecated CFLAG or two from the CMakelists.txt file - -Only use the Debug and Release targets unless you want to work on 64 bit. For local testing, and non-live builds set MODE=Release or MODE=debug in build_linux.sh. +For local testing, and non-live builds set MODE=Release or MODE=Debug in the build.properties file in swg-main. For production, user facing builds, set MODE=MINSIZEREL for profile built, heavily optimized versions of the binaries. -## Profiling and Using Profiles +## Profiling and Using Profiles (IN-WORK) To generate new profiles, build SWG with MODE=RELWITHDEBINFO. From 334fdd42d351fd1f3f3a1420682471f8b18f0b1a Mon Sep 17 00:00:00 2001 From: Cekis Date: Sat, 27 Nov 2021 11:13:57 -0800 Subject: [PATCH 04/10] Added association for external projects that include the udplibrary (i.e. stationchat) --- external/3rd/library/udplibrary/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/external/3rd/library/udplibrary/CMakeLists.txt b/external/3rd/library/udplibrary/CMakeLists.txt index a3498814..50c4163e 100644 --- a/external/3rd/library/udplibrary/CMakeLists.txt +++ b/external/3rd/library/udplibrary/CMakeLists.txt @@ -21,3 +21,4 @@ add_library(udplibrary UdpLibrary.h ) +target_include_directories(udplibrary PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) From 3542f548318923421dc52a665470ba6a41da7bcc Mon Sep 17 00:00:00 2001 From: Phoenix Date: Mon, 29 Nov 2021 19:31:47 -0500 Subject: [PATCH 05/10] Update FindJNI.cmake --- cmake/linux/FindJNI.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmake/linux/FindJNI.cmake b/cmake/linux/FindJNI.cmake index ceeb4b09..59a217d3 100644 --- a/cmake/linux/FindJNI.cmake +++ b/cmake/linux/FindJNI.cmake @@ -100,6 +100,7 @@ set(JAVA_AWT_LIBRARY_DIRECTORIES "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\${java_install_version};JavaHome]/lib" ) +file(TO_CMAKE_PATH "$ENV{JAVA32_HOME}" _JAVA32_HOME) file(TO_CMAKE_PATH "$ENV{JAVA_HOME}" _JAVA_HOME) JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT_LIBRARY_DIRECTORIES @@ -113,6 +114,12 @@ JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT_LIBRARY_DIRECTORIES /opt/java18/jre/lib /opt/java18/jre/bin /opt/java18/jre/bin/classic + ${_JAVA32_HOME}/jre/lib/{libarch} + ${_JAVA32_HOME}/jre/lib + ${_JAVA32_HOME}/jre/bin + ${_JAVA32_HOME}/jre/bin/classic + ${_JAVA32_HOME}/lib + ${_JAVA32_HOME} ${_JAVA_HOME}/jre/lib/{libarch} ${_JAVA_HOME}/jre/lib ${_JAVA_HOME}/jre/bin @@ -172,6 +179,7 @@ set(JAVA_AWT_INCLUDE_DIRECTORIES "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/include" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/include" "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\${java_install_version};JavaHome]/include" + ${_JAVA32_HOME}/include ${_JAVA_HOME}/include /opt/java18/include /opt/java/include From 1a15b455402b6b68aaddc1b686f5856c57e6ab25 Mon Sep 17 00:00:00 2001 From: Phoenix Date: Fri, 10 Dec 2021 20:49:30 -0500 Subject: [PATCH 06/10] Update FindOracle.cmake Added Oracle Instantclient 21 --- cmake/linux/FindOracle.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmake/linux/FindOracle.cmake b/cmake/linux/FindOracle.cmake index 957463aa..072846bd 100644 --- a/cmake/linux/FindOracle.cmake +++ b/cmake/linux/FindOracle.cmake @@ -70,6 +70,12 @@ if(DEFINED ENV{ORACLE_HOME}) /usr/share/oracle/19.12/client64 /usr/lib/oracle/19.12/client /usr/share/oracle/19.12/client + /usr/include/oracle/21/client + /usr/lib/oracle/21/client + /usr/share/oracle/21/client + /usr/include/oracle/21/client64 + /usr/lib/oracle/21/client64 + /usr/share/oracle/21/client64 ${ORACLE_HOME}/rdbms/public ${ORACLE_HOME}/include ${ORACLE_HOME}/sdk/include # Oracle SDK From 4c19ed30fe0765e15531ff41e009a1df2415675d Mon Sep 17 00:00:00 2001 From: Phoenix Date: Fri, 10 Dec 2021 20:56:30 -0500 Subject: [PATCH 07/10] Update FindOracle.cmake --- cmake/linux/FindOracle.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/linux/FindOracle.cmake b/cmake/linux/FindOracle.cmake index 072846bd..30fec0ae 100644 --- a/cmake/linux/FindOracle.cmake +++ b/cmake/linux/FindOracle.cmake @@ -83,7 +83,7 @@ if(DEFINED ENV{ORACLE_HOME}) set(ORACLE_OCI_NAMES clntsh libclntsh oci) - set(ORACLE_NNZ_NAMES nnz10 libnnz10 nnz11 libnnz11 nnz12 libnnz12 nnz18 libnnz18 nnz19 libnnz19 ociw32) + set(ORACLE_NNZ_NAMES nnz10 libnnz10 nnz11 libnnz11 nnz12 libnnz12 nnz18 libnnz18 nnz19 libnnz19 nnz21 libnnz21 ociw32) set(ORACLE_OCCI_NAMES libocci occi oraocci10 oraocci11 oraocci12 libocci.so.19.1 oraocci19) From 19ecf72b4c633f4242c6038f3f8ab13cf9e21249 Mon Sep 17 00:00:00 2001 From: Cekis Date: Mon, 13 Dec 2021 21:08:31 -0500 Subject: [PATCH 08/10] Fixed issues causing newer compilers to complain. --- CMakeLists.txt | 3 +- .../application/Miff/src/linux/miff.cpp | 70 +++++++++---------- .../sharedDebug/src/shared/RemoteDebug.h | 2 + .../src/shared/StlForwardDeclaration.h | 1 + 4 files changed, 39 insertions(+), 37 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fbb41059..8547c160 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) # shame on you cmake for auto-setting optimization flags! -set(CMAKE_CXX_FLAGS "") set(CMAKE_CXX_FLAGS_DEBUG "") set(CMAKE_CXX_FLAGS_RELEASE "") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "") @@ -99,7 +98,7 @@ elseif (UNIX) # RELWITHDEBINFO is used for building bins that produce profdata files # we only need the basics of our heavy optimizations here, i think - that and one of these flags # breaks JNI when we profile - set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Ofast -finline-hint-functions -fprofile-instr-generate") + set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS} -Ofast -finline-hint-functions -fprofile-instr-generate") # MINSIZEREL is used for profiled, flto builds set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_RELEASE} -flto -fwhole-program-vtables") diff --git a/engine/client/application/Miff/src/linux/miff.cpp b/engine/client/application/Miff/src/linux/miff.cpp index d1f18bfc..6927490e 100755 --- a/engine/client/application/Miff/src/linux/miff.cpp +++ b/engine/client/application/Miff/src/linux/miff.cpp @@ -59,15 +59,15 @@ const int maxStringSize = 256; const char version[] = "1.3 September 18, 2000"; // vars set by pragmas or via command line -char drive[8]; // should be no more then 2 char "C:" -char directory[maxStringSize]; -char filename[maxStringSize]; -char extension[8]; // we'll truncate if the extension is more then 8 chars... -char inFileName[512]; +// char drive[8]; // should be no more then 2 char "C:" +// char directory[maxStringSize]; +// char filename[maxStringSize]; +// char extension[8]; // we'll truncate if the extension is more then 8 chars... +char local_inFileName[512]; // switches to be sent to mIFF Compiler char sourceBuffer[bufferSize]; -char outFileName[512]; // x2 to combine filename, dir, and ext +char local_outFileName[512]; // x2 to combine filename, dir, and ext bool usePragma = false; bool useCCCP = false; bool verboseMode = false; // default to non-verbose mode @@ -92,8 +92,8 @@ enum errorType { ERR_NONE = 0 }; -char err_msg[256]; -errorType errorFlag = ERR_NONE; // assume no error (default) +char local_err_msg[256]; +errorType local_errorFlag = ERR_NONE; // assume no error (default) // long and short name definitions for command line options @@ -220,7 +220,7 @@ int main( int argc, // number of args in commandline SetupSharedFoundation::remove(); SetupSharedThread::remove(); - return static_cast (errorFlag); + return static_cast (local_errorFlag); } //--------------------------------------------------------------------------- @@ -259,24 +259,24 @@ static void callbackFunction(void) #endif - errorFlag = evaluateArgs(); - if (ERR_NONE == errorFlag) + local_errorFlag = evaluateArgs(); + if (ERR_NONE == local_errorFlag) { - outfileHandler = new OutputFileHandler(outFileName); - MIFFCompile(sourceBuffer, inFileName); + outfileHandler = new OutputFileHandler(local_outFileName); + MIFFCompile(sourceBuffer, local_inFileName); } else - handleError(errorFlag); + handleError(local_errorFlag); if (outfileHandler) { // only write output IF there was no error - if (ERR_NONE == errorFlag) + if (ERR_NONE == local_errorFlag) { if (!outfileHandler->writeBuffer()) { - fprintf(stderr, "MIFF: failed to write output file \"%s\"\n", outFileName); - errorFlag = ERR_WRITEERROR; + fprintf(stderr, "MIFF: failed to write output file \"%s\"\n", local_outFileName); + local_errorFlag = ERR_WRITEERROR; } } delete outfileHandler; @@ -323,13 +323,13 @@ static errorType evaluateArgs(void) // setup input filename - strcpy(inFileName, CommandLine::getOptionString(SNAME_INPUT_FILE)); + strcpy(local_inFileName, CommandLine::getOptionString(SNAME_INPUT_FILE)); // handle output filename spec if (CommandLine::getOccurrenceCount(SNAME_OUTPUT_FILE)) { - strcpy(outFileName, CommandLine::getOptionString(SNAME_OUTPUT_FILE)); + strcpy(local_outFileName, CommandLine::getOptionString(SNAME_OUTPUT_FILE)); } else if (CommandLine::getOccurrenceCount(SNAME_PRAGMA_TARGET)) { @@ -342,15 +342,15 @@ static errorType evaluateArgs(void) char *terminator; // start with input file pathname - strcpy(outFileName, inFileName); + strcpy(local_outFileName, local_inFileName); // try to terminate at rightmost '.' - terminator = strrchr(outFileName, '.'); + terminator = strrchr(local_outFileName, '.'); if (terminator) *terminator = 0; // append the default iff extension - strcat(outFileName, ".iff"); + strcat(local_outFileName, ".iff"); } @@ -361,12 +361,12 @@ static errorType evaluateArgs(void) // preprocess the input file - if (0 == preprocessSource(inFileName)) + if (0 == preprocessSource(local_inFileName)) { if (verboseMode) { - sprintf(err_msg,"Now compiling %s...\n", inFileName); - MIFFMessage(err_msg, 0); + sprintf(local_err_msg,"Now compiling %s...\n", local_inFileName); + MIFFMessage(local_err_msg, 0); } if (ERR_NONE == retVal) retVal = loadInputToBuffer(sourceBuffer, bufferSize); @@ -563,7 +563,7 @@ extern "C" void MIFFMessage(char *message, // nullptr terminated string to be // Only call this via parser!!! extern "C" void MIFFSetError(void) { - errorFlag = ERR_PARSER; + local_errorFlag = ERR_PARSER; } //--------------------------------------------------------------------------- @@ -586,10 +586,10 @@ extern "C" int validateTargetFilename( char *targetFileName, // pointer to wher unsigned maxTargetBufSize // size of the filename string buffer ) { - if (strlen(outFileName) > maxTargetBufSize) + if (strlen(local_outFileName) > maxTargetBufSize) MIFFMessage("Internal error, increase string buffer size in parser.yac and recompile!", 1); - strcpy(targetFileName, outFileName); + strcpy(targetFileName, local_outFileName); return(usePragma); } @@ -667,7 +667,7 @@ static int preprocessSource(char *sourceName) extern "C" void MIFFSetIFFName(const char *newFileName) { - if (ERR_NONE != errorFlag) + if (ERR_NONE != local_errorFlag) return; if (outfileHandler) @@ -676,7 +676,7 @@ extern "C" void MIFFSetIFFName(const char *newFileName) extern "C" void MIFFinsertForm(const char *formName) { - if (ERR_NONE != errorFlag) + if (ERR_NONE != local_errorFlag) return; if (outfileHandler) @@ -685,7 +685,7 @@ extern "C" void MIFFinsertForm(const char *formName) extern "C" void MIFFinsertChunk(const char *chunkName) { - if (ERR_NONE != errorFlag) + if (ERR_NONE != local_errorFlag) return; if (outfileHandler) @@ -694,7 +694,7 @@ extern "C" void MIFFinsertChunk(const char *chunkName) extern "C" void MIFFinsertChunkData(void * buffer, unsigned bufferSize) { - if (ERR_NONE != errorFlag) + if (ERR_NONE != local_errorFlag) return; if (outfileHandler) @@ -705,7 +705,7 @@ extern "C" int MIFFloadRawData(char *fname, void * buffer, unsigned maxBufferSiz { int sizeRead = -1; - if (ERR_NONE != errorFlag) + if (ERR_NONE != local_errorFlag) return(sizeRead); // should be -1 InputFileHandler * inFileName = new InputFileHandler(fname); @@ -725,7 +725,7 @@ extern "C" int MIFFloadRawData(char *fname, void * buffer, unsigned maxBufferSiz extern "C" void MIFFexitChunk(void) { - if (ERR_NONE != errorFlag) + if (ERR_NONE != local_errorFlag) return; if (outfileHandler) @@ -733,7 +733,7 @@ extern "C" void MIFFexitChunk(void) } extern "C" void MIFFexitForm(void) { - if (ERR_NONE != errorFlag) + if (ERR_NONE != local_errorFlag) return; if (outfileHandler) diff --git a/engine/shared/library/sharedDebug/src/shared/RemoteDebug.h b/engine/shared/library/sharedDebug/src/shared/RemoteDebug.h index bdb5e62a..be7b7326 100755 --- a/engine/shared/library/sharedDebug/src/shared/RemoteDebug.h +++ b/engine/shared/library/sharedDebug/src/shared/RemoteDebug.h @@ -8,6 +8,8 @@ #ifndef REMOTE_DEBUG_H #define REMOTE_DEBUG_H +#include + // ====================================================================== /** This class is both a platform and network-protocol independent way of diff --git a/engine/shared/library/sharedFoundation/src/shared/StlForwardDeclaration.h b/engine/shared/library/sharedFoundation/src/shared/StlForwardDeclaration.h index cd1b0e75..c8daf4fa 100755 --- a/engine/shared/library/sharedFoundation/src/shared/StlForwardDeclaration.h +++ b/engine/shared/library/sharedFoundation/src/shared/StlForwardDeclaration.h @@ -15,6 +15,7 @@ #include #include #include +#include namespace Unicode { From a5c209e26ed2b62d4ef53d10b6ec4179d2fbf981 Mon Sep 17 00:00:00 2001 From: Cekis Date: Fri, 14 Jan 2022 03:09:45 -0500 Subject: [PATCH 09/10] Updated CMake files for CI effort --- cmake/linux/FindLibXml2.cmake | 3 --- cmake/linux/FindOracle.cmake | 48 ++--------------------------------- cmake/linux/FindPCRE.cmake | 5 ---- 3 files changed, 2 insertions(+), 54 deletions(-) diff --git a/cmake/linux/FindLibXml2.cmake b/cmake/linux/FindLibXml2.cmake index fce4c01a..916b1c20 100644 --- a/cmake/linux/FindLibXml2.cmake +++ b/cmake/linux/FindLibXml2.cmake @@ -1,7 +1,4 @@ -find_path(LIBXML2_ROOT - NAMES include/zlib.h -) find_path(LIBXML2_INCLUDE_DIR libxml/xpath.h HINTS diff --git a/cmake/linux/FindOracle.cmake b/cmake/linux/FindOracle.cmake index 30fec0ae..a4d14c4b 100644 --- a/cmake/linux/FindOracle.cmake +++ b/cmake/linux/FindOracle.cmake @@ -26,56 +26,12 @@ # If ORACLE_HOME not defined, assume Oracle libraries not available if(DEFINED ENV{ORACLE_HOME}) - set(ORACLE_HOME $ENV{ORACLE_HOME}) - message("ORACLE_HOME=${ORACLE_HOME}") - find_path(ORACLE_INCLUDE_DIR NAMES oci.h PATHS - /usr/include/oracle/12.1/client64 - /usr/include/oracle/12.1/client - /usr/lib/oracle/12.1/client64 - /usr/share/oracle/12.1/client64 - /usr/lib/oracle/12.1/client - /usr/share/oracle/12.1/client - /usr/include/oracle/10.2.0.4/client64 - /usr/include/oracle/10.2.0.4/client - /usr/lib/oracle/10.2.0.4/client64 - /usr/share/oracle/10.2.0.4/client64 - /usr/lib/oracle/10.2.0.4/client - /usr/share/oracle/10.2.0.4/client - /usr/include/oracle/12.2/client64 - /usr/include/oracle/12.2/client - /usr/lib/oracle/12.2/client64 - /usr/share/oracle/12.2/client64 - /usr/lib/oracle/12.2/client - /usr/share/oracle/12.2/client - /usr/include/oracle/18.3/client64 /usr/include/oracle/18.3/client - /usr/lib/oracle/18.3/client64 - /usr/share/oracle/18.3/client64 - /usr/lib/oracle/18.3/client - /usr/share/oracle/18.3/client - /usr/include/oracle/19.6/client64 - /usr/include/oracle/19.6/client - /usr/lib/oracle/19.6/client64 - /usr/share/oracle/19.6/client64 - /usr/lib/oracle/19.6/client - /usr/share/oracle/19.6/client - /usr/include/oracle/19.12/client64 - /usr/include/oracle/19.12/client - /usr/lib/oracle/19.12/client64 - /usr/share/oracle/19.12/client64 - /usr/lib/oracle/19.12/client - /usr/share/oracle/19.12/client - /usr/include/oracle/21/client - /usr/lib/oracle/21/client - /usr/share/oracle/21/client - /usr/include/oracle/21/client64 - /usr/lib/oracle/21/client64 - /usr/share/oracle/21/client64 ${ORACLE_HOME}/rdbms/public ${ORACLE_HOME}/include ${ORACLE_HOME}/sdk/include # Oracle SDK @@ -83,8 +39,8 @@ if(DEFINED ENV{ORACLE_HOME}) set(ORACLE_OCI_NAMES clntsh libclntsh oci) - set(ORACLE_NNZ_NAMES nnz10 libnnz10 nnz11 libnnz11 nnz12 libnnz12 nnz18 libnnz18 nnz19 libnnz19 nnz21 libnnz21 ociw32) - set(ORACLE_OCCI_NAMES libocci occi oraocci10 oraocci11 oraocci12 libocci.so.19.1 oraocci19) + set(ORACLE_NNZ_NAMES nnz18 libnnz18 ociw32) + set(ORACLE_OCCI_NAMES libocci occi) set(ORACLE_LIB_DIR diff --git a/cmake/linux/FindPCRE.cmake b/cmake/linux/FindPCRE.cmake index eb3c2da7..6129b0d4 100644 --- a/cmake/linux/FindPCRE.cmake +++ b/cmake/linux/FindPCRE.cmake @@ -1,8 +1,3 @@ - -find_path(PCRE_ROOT - NAMES include/pcre.h -) - find_path(PCRE_INCLUDE_DIR pcre.h HINTS $ENV{PCRE_ROOT} From b18005979322383222fc0e770c679d84f91f6532 Mon Sep 17 00:00:00 2001 From: Cekis Date: Sat, 15 Jan 2022 10:59:25 -0800 Subject: [PATCH 10/10] Create compile-src.yml --- .github/workflows/compile-src.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/compile-src.yml diff --git a/.github/workflows/compile-src.yml b/.github/workflows/compile-src.yml new file mode 100644 index 00000000..b8791337 --- /dev/null +++ b/.github/workflows/compile-src.yml @@ -0,0 +1,20 @@ +name: SWG Source - Continuous Integration for src repo + +on: + pull_request: + branches: [ master ] + + workflow_dispatch: + +jobs: + compile-src: + runs-on: ubuntu-latest + container: cekisswg/swg-vm3.01-i386:latest + steps: + - name: Run ANT Build + run: | + cd /home/swg/swg-main + git clone https://github.com/SWG-Source/src.git + cd src + ant build_src +