Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ObEngine/TiledIntegration
Browse files Browse the repository at this point in the history
  • Loading branch information
Sygmei committed Jul 4, 2022
2 parents 26b3d6b + 78d0831 commit f369ee8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ 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: cd build; cmake ..; make -j8
run: cmake --build build --config Release -- -j8
- name: Create package
run: cp ./build/Release/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
Expand All @@ -33,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

Expand All @@ -48,7 +50,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
Expand Down Expand Up @@ -81,9 +83,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 -- -j8
- name: Create package
run: cp ./build/Release/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
Expand All @@ -93,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

0 comments on commit f369ee8

Please sign in to comment.