diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5e596c4..aa15c4b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,9 +39,12 @@ jobs: - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1.1 - - name: Build Toshi + - name: Build OpenJPOG working-directory: ${{env.GITHUB_WORKSPACE}} run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} + + - name: Run UnitTests + run: .\bin\Release_Windows_x86\UnitTests\UnitTests.exe - name: Publish Artifact uses: actions/upload-artifact@v2 diff --git a/GenerateProjects-VS2019.bat b/GenerateProjects-VS2019.bat new file mode 100644 index 0000000..bee9cde --- /dev/null +++ b/GenerateProjects-VS2019.bat @@ -0,0 +1,3 @@ +@echo off +.\vendor\premake\premake5.exe vs2019 --arch=x86 +pause \ No newline at end of file diff --git a/Generate-VS2022.bat b/GenerateProjects-VS2022.bat similarity index 100% rename from Generate-VS2022.bat rename to GenerateProjects-VS2022.bat diff --git a/README.md b/README.md index 8f773be..e3014d3 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Building on Windows requires Clone the repository with the following commands: git clone https://github.com/AdventureT/OpenJPOG.git - cd OpenToshi + cd OpenJPOG git submodule update --init --recursive ./GenerateProjects-VS2019.bat (if you use Visual Studio 2019) ./GenerateProjects-VS2022.bat (if you use Visual Studio 2022)