Skip to content

Merge branch 'master' of https://github.com/user-grinch/ImGuiRedux #87

Merge branch 'master' of https://github.com/user-grinch/ImGuiRedux

Merge branch 'master' of https://github.com/user-grinch/ImGuiRedux #87

Workflow file for this run

name: Build ImGuiRedux
on: push
jobs:
ImGuiRedux:
runs-on: windows-latest
strategy:
matrix:
platform: [Win32, Win64]
buildtype: [Release]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup premake
uses: abel0b/setup-premake@v2
with:
version: "5.0.0-beta1"
- name: Configure build
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{matrix.platform}}
- name: Build plugin
run: |
cd tools
premake5 vs2022
cd ../build
MsBuild ImGuiRedux.sln /property:Configuration=${{matrix.buildtype}} /p:Platform=${{matrix.platform}} /t:ImGuiRedux
- name: Upload plugin
uses: actions/upload-artifact@v3
with:
name: ImGuiRedux${{matrix.platform}}
path: build\bin\ImGuiRedux${{matrix.platform}}.cleo
- name: Archive plugin
uses: papeloto/action-zip@v1
with:
files: build\bin\ImGuiRedux${{matrix.platform}}.cleo
dest: ImGuiRedux${{matrix.platform}}.zip
- name: Add build to release tag
uses: ncipollo/release-action@v1
with:
artifacts: ImGuiRedux${{matrix.platform}}.zip
name: "${{matrix.platform}} Builds"
body: "This release is updated frequently with newer builds.\n\n- ImGuiRedux${{matrix.platform}}.zip for CLEORedux"
allowUpdates: true
tag: "${{matrix.platform}}-latest"
ImGuiCleo:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup premake
uses: abel0b/setup-premake@v2
with:
version: "5.0.0-beta1"
- name: Configure build
uses: ilammy/msvc-dev-cmd@v1
with:
arch: Win32
- name: Build plugin
run: |
cd tools
premake5 vs2022
cd ../build
MsBuild ImGuiRedux.sln /property:Configuration=ReleaseCleo /p:Platform=Win32 /t:ImGuiRedux
- name: Upload plugin
uses: actions/upload-artifact@v3
with:
name: ImGuiCleoWin32
path: build\bin\ImGuiCleoWin32.cleo
- name: Archive plugin
uses: papeloto/action-zip@v1
with:
files: build\bin\ImGuiCleoWin32.cleo
dest: ImGuiCleoWin32.zip
- name: Add build to release tag
uses: ncipollo/release-action@v1
with:
artifacts: ImGuiCleoWin32.zip
name: "Win32 Builds"
body: "This release is updated frequently with newer builds.\n\n- ImGuiCleoWin32.zip for regular CLEO\n- ImGuiReduxWin32.zip for CLEORedux"
allowUpdates: true
tag: "Win32-latest"