From ad8fbc5b7cc154da20152a5ad9d5a23969f96450 Mon Sep 17 00:00:00 2001 From: Sygmei <3835355+Sygmei@users.noreply.github.com> Date: Sun, 3 Jul 2022 16:09:32 +0200 Subject: [PATCH 1/5] Update artifacts.yml --- .github/workflows/artifacts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 21f2ae8..6d8224b 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -48,7 +48,7 @@ jobs: - name: Create build directory run: mkdir build - name: Run CMake on TiledIntegration - run: cd build; cmake -G "Visual Studio 16 2019" -A x64 .. + run: cd build; cmake .. shell: pwsh - name: Compile TiledIntegration run: cmake --build build --config Release -- /m:8 From 62e54ef4d072bbd6567426b46925427e6701e6f4 Mon Sep 17 00:00:00 2001 From: Sygmei <3835355+Sygmei@users.noreply.github.com> Date: Sun, 3 Jul 2022 16:19:33 +0200 Subject: [PATCH 2/5] Update artifacts.yml --- .github/workflows/artifacts.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 6d8224b..44aabe7 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -21,9 +21,9 @@ jobs: - name: Install G++ and build-essential run: sudo apt-get install -y build-essential g++ - name: Compile TiledIntegration - run: cd build; cmake ..; make -j8 + run: cmake --build build --config Release -- /m:8 - name: Create package - run: cp ./build/Release/tiled_integration release/ + run: cp ./build/tiled_integration release/ - name: Package to archive run: tar -cvf obengine-tiled-integration.tar release/ ; gzip -9 obengine-tiled-integration.tar - name: Upload Release Asset @@ -81,9 +81,9 @@ jobs: - name: Run CMake on TiledIntegration run: cd build && cmake .. - name: Compile TiledIntegration - run: cd build && make -j8 + run: cmake --build build --config Release -- /m:8 - name: Create package - run: cp ./build/Release/tiled_integration release/ + run: cp ./build/tiled_integration release/ - name: Package to archive run: tar -cvf obengine-tiled-integration.tar release/ ; gzip -9 obengine-tiled-integration.tar - name: Upload Release Asset From ec76d9e5356730086acb561f647d7770aa301e7a Mon Sep 17 00:00:00 2001 From: Sygmei <3835355+Sygmei@users.noreply.github.com> Date: Sun, 3 Jul 2022 16:24:09 +0200 Subject: [PATCH 3/5] Update artifacts.yml --- .github/workflows/artifacts.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 44aabe7..53119c2 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -20,8 +20,10 @@ jobs: run: sudo apt-get install -y cmake - name: Install G++ and build-essential run: sudo apt-get install -y build-essential g++ + - name: Run CMake on TiledIntegration + run: cd build && cmake .. - name: Compile TiledIntegration - run: cmake --build build --config Release -- /m:8 + run: cmake --build build --config Release -- -j8 - name: Create package run: cp ./build/tiled_integration release/ - name: Package to archive @@ -81,7 +83,7 @@ jobs: - name: Run CMake on TiledIntegration run: cd build && cmake .. - name: Compile TiledIntegration - run: cmake --build build --config Release -- /m:8 + run: cmake --build build --config Release -- -j8 - name: Create package run: cp ./build/tiled_integration release/ - name: Package to archive From 050a98195f3ab8aa9d054fe831731ef6bd4613fb Mon Sep 17 00:00:00 2001 From: Sygmei <3835355+Sygmei@users.noreply.github.com> Date: Sun, 3 Jul 2022 16:31:41 +0200 Subject: [PATCH 4/5] Update artifacts.yml --- .github/workflows/artifacts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 53119c2..7efdc75 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -25,7 +25,7 @@ jobs: - name: Compile TiledIntegration run: cmake --build build --config Release -- -j8 - name: Create package - run: cp ./build/tiled_integration release/ + run: mkdir release; cp ./build/tiled_integration release/ - name: Package to archive run: tar -cvf obengine-tiled-integration.tar release/ ; gzip -9 obengine-tiled-integration.tar - name: Upload Release Asset @@ -85,7 +85,7 @@ jobs: - name: Compile TiledIntegration run: cmake --build build --config Release -- -j8 - name: Create package - run: cp ./build/tiled_integration release/ + run: mkdir release; cp ./build/tiled_integration release/ - name: Package to archive run: tar -cvf obengine-tiled-integration.tar release/ ; gzip -9 obengine-tiled-integration.tar - name: Upload Release Asset From 78d08316ee442aaa30fe21d1c9439d4d4f7e743b Mon Sep 17 00:00:00 2001 From: Sygmei <3835355+Sygmei@users.noreply.github.com> Date: Sun, 3 Jul 2022 16:34:18 +0200 Subject: [PATCH 5/5] Update artifacts.yml --- .github/workflows/artifacts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 7efdc75..e6d6b81 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -35,7 +35,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: ./obengine-tiled-integration.tar + asset_path: ./obengine-tiled-integration.tar.gz asset_name: obengine-tiled-integration.linux64.tar.gz asset_content_type: application/zip @@ -95,6 +95,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: ./obengine-tiled-integration.tar + asset_path: ./obengine-tiled-integration.tar.gz asset_name: obengine-tiled-integration.macos64.tar.gz asset_content_type: application/zip