-
-
Notifications
You must be signed in to change notification settings - Fork 405
Add windows .msi
installer to the CI
#1899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2fa0053
add step to generate a windows msi installer of the Arduino CLI
umbynos 7fb4887
remove warning:
umbynos 4bc4895
fix error caused by wix peculiar version constraints:
umbynos e77e6f0
fix `error LGHT0103: The system cannot find the file 'arduino-cli.exe'`
umbynos d16b8cc
final adjustments in wix config
umbynos fab6412
exclude prettier from checking the installer config files, prettier d…
umbynos 9cbfe14
add download links
umbynos 598c334
temporarily disable s3 push and homebrew update for testing
umbynos ce7456f
Upload nightly artifacts for testing
umbynos 4f0ee9c
add windows check certs
umbynos b3472ff
bump to latest windows-sdk and document better
umbynos 480372d
remove useless job id not used anymore (followup of #1883)
umbynos 78cb662
fixed comments
umbynos 1d3bedf
It's useless to use the output from setupmsbuild
umbynos 0fa0023
use YAML-style syntax
umbynos f302f9f
try to uniform the usage of version/tag across the workflow
umbynos 5274f2d
Revert "Upload nightly artifacts for testing" && "temporarily disable…
umbynos 09c64e6
Apply suggestions from code review
umbynos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -8,3 +8,4 @@ | |
/arduino/security/testdata/ | ||
/.licenses/ | ||
/site/ | ||
/installer/ |
This file contains hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration>Release</Configuration> | ||
<Platform Condition="'$(Platform)' == ''">x64</Platform> | ||
<!-- "ProductVersion" gets overridden when run with the commandline by the release CI, this is useful to define it if not defined --> | ||
<ProductVersion Condition="'$(ProductVersion)' == ''">0.1.0</ProductVersion> | ||
<!-- "OutputName" gets overridden when run with the commandline by the release CI, it's the name of the output file --> | ||
<OutputName Condition="'$(OutputName)' == ''">$(MSBuildProjectName)</OutputName> | ||
<OutputType>package</OutputType> | ||
<DefineConstants> | ||
$(DefineConstants); | ||
ProductVersion=$(ProductVersion); | ||
</DefineConstants> | ||
<DefineSolutionProperties>false</DefineSolutionProperties> | ||
<WixTargetsPath Condition="'$(WixTargetsPath)' == ''">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<!-- path and name of the additional files that contains additional config for the installer generation and needs Compile --> | ||
<Compile Include="cli.wxs"/> | ||
<Compile Include="ui.wxs"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<!-- Include directories containing both user-specified output and unzipped release for ease --> | ||
<!-- "SourceDir" is defined when run with the commandline by the release CI, it's the folder containing files to include in the installer --> | ||
<BindInputPaths Include="$(SourceDir)"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<!-- https://wixtoolset.org//documentation/manual/v3/wixui/wixui_dialog_library.html --> | ||
<WixExtension Include="WixUIExtension"/> | ||
<!-- we need the following to be able to broadcast the environment vars change --> | ||
<WixExtension Include="WixUtilExtension"/> | ||
</ItemGroup> | ||
<Target Name="SetStepOutput" AfterTargets="Build" Condition="'$(GITHUB_ACTIONS)' != ''"> | ||
<!-- Define a GitHub Actions workflow step output containing the target path --> | ||
<Message Importance="high" Text="::set-output name=msi::$(TargetPath)"/> | ||
</Target> | ||
<Import Project="$(WixTargetsPath)"/> | ||
</Project> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.