Skip to content

Commit

Permalink
Release packing
Browse files Browse the repository at this point in the history
  • Loading branch information
Hatrickek committed Jun 20, 2023
1 parent 91b3d30 commit 250541a
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,26 @@ jobs:
version: ${{env.VULKAN_VERSION}}
cache: true
- name: Install GTK
run: sudo apt install build-essential libgtk-3-dev
run: |
sudo apt-get update
sudo apt install build-essential libgtk-3-dev
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=clang++
- name: Build
run: cmake --build ./build --config ${{env.BUILD_TYPE}}
- name: "Release"
- name: "Generate Release"
run: |
wget https://github.com/Hatrickek/OxArena/releases/download/pre-release/Assets.zip
- name: "Publish Release"
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
${{github.workspace}}/build/OxArena/Release/OxArena
./build/OxArena/Release/OxArena
./*.zip
msvc_cl:
runs-on: windows-latest
Expand Down Expand Up @@ -83,15 +89,19 @@ jobs:
run: cmake -S . -B ${{github.workspace}}/build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: msbuild build\OxArena.sln /property:Configuration=${{env.BUILD_TYPE}}
- name: "Release"
- name: "Generate Release"
run: |
C:\msys64\usr\bin\wget.exe https://github.com/Hatrickek/OxArena/releases/download/pre-release/Assets.zip
- name: "Publish Release"
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
${{github.workspace}}\build\OxArena\Release\OxArena.exe
./build/OxArena/Release/*.exe
./*.zip
#mac_clang:
# runs-on: macos-latest
Expand Down

0 comments on commit 250541a

Please sign in to comment.