-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add x64 in github actions, bump version
- Loading branch information
1 parent
afd6876
commit 59a2c04
Showing
3 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ on: push | |
jobs: | ||
build: | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
platform: [Win32, Win64] | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
@@ -13,29 +16,29 @@ jobs: | |
- name: Configure build | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: Win32 | ||
arch: ${{matrix.platform}} | ||
- name: Build plugin | ||
run: | | ||
cd tools | ||
premake5 vs2022 | ||
cd ../build | ||
MsBuild ImGuiRedux.sln /property:Configuration=Release /p:Platform="Win32" /t:ImGuiRedux | ||
MsBuild ImGuiRedux.sln /property:Configuration=Release /p:Platform=${{matrix.platform}} /t:ImGuiRedux | ||
- name: Upload plugin | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ImGuiRedux | ||
path: build\bin\ImGuiRedux.cleo | ||
name: ImGuiRedux${{matrix.platform}} | ||
path: build\bin\ImGuiRedux${{matrix.platform}}.cleo | ||
- name: Archive plugin | ||
uses: papeloto/action-zip@v1 | ||
with: | ||
files: build\bin\ImGuiRedux.cleo | ||
dest: ImGuiRedux.zip | ||
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.zip | ||
name: "ImGuiRedux Latest" | ||
artifacts: ImGuiRedux${{matrix.platform}}.zip | ||
name: "ImGuiRedux ${{matrix.platform}}" | ||
body: "Secondary tag for [this release](https://github.com/user-grinch/ImGuiRedux/releases/latest) of ImGuiRedux. This release is updated regularly" | ||
allowUpdates: true | ||
tag: "x86-latest" | ||
tag: "${{matrix.platform}}-latest" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters