Skip to content

Commit

Permalink
Github action for Windows build, added badge
Browse files Browse the repository at this point in the history
Update .gitignore
UniSolder: added publish configuration
Create build-windows.yaml
  • Loading branch information
PBrunot committed Feb 24, 2024
1 parent 5ede296 commit a026b2f
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 5 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Build the software/PC dotnet applications

name: Windows Unisolder application

on:
push:
pull_request:
branches:
- master
- develop

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
# Build the application
- name: Build with MSBuild
working-directory: software/PC
run: msbuild /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath=bin/Release /p:DeployOnBuild=true /p:PublishProfile=Properties\PublishProfiles\UnisolderApp.pubxml /p:PublishDir=bin/Release /p:WebPublishMethod=FileSystem /p:DeleteExistingFiles=True /p:publishUrl=bin/Release /p:VisualStudioVersion=16.0 /p:DeployDefaultTarget=WebPublish
# Archive the build
- name: Archive build
uses: actions/upload-artifact@v2
with:
name: UnisolderApp
path: software/PC/UniSolder/bin/Release
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ software/front/US_Firmware.X/dist/PIC32_Standalone/production/
.vs/
*.Up2Date
bin/
obj/
obj/
software/front/US_Firmware.X/build/PIC32_with_bootloader/debug/
software/front/US_Firmware.X/dist/PIC32_with_bootloader/debug/
*.deploy
software/PC/UniSolder/publish/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# UniSolder - The universal soldering controller ![License CC-BY-4.0](https://img.shields.io/badge/License-CC--BY--4.0-green.svg)
Control almost any low voltage soldering instrument

[![Windows Unisolder application](https://github.com/PBrunot/UniSolder-5.2/actions/workflows/build-windows.yaml/badge.svg)](https://github.com/PBrunot/UniSolder-5.2/actions/workflows/build-windows.yaml)

<img width=500 align="center" src="/img/UniSolder52_small.jpg"/>

My intention was to build the most universal soldering controller I can think of. It can drive any low voltage (upto 24V) iron with thermocouple or resistive sensor, in series with the heater, or separate.
Expand Down
22 changes: 18 additions & 4 deletions software/PC/UniSolder/UniSolder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<IsWebBootstrapper>false</IsWebBootstrapper>
<TargetFrameworkProfile />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
Expand All @@ -22,12 +24,11 @@
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -51,6 +52,18 @@
<PropertyGroup>
<StartupObject>UniSolder.Program</StartupObject>
</PropertyGroup>
<PropertyGroup>
<ManifestCertificateThumbprint>CB58969D1BAAC89BC98FD8152A9F2E9A0AF1A2F4</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>UniSolder_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>true</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<SignManifests>true</SignManifests>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down Expand Up @@ -97,6 +110,7 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="UniSolder_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
Expand All @@ -114,7 +128,7 @@
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName>
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 e x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
Expand Down
Binary file added software/PC/UniSolder/UniSolder_TemporaryKey.pfx
Binary file not shown.

0 comments on commit a026b2f

Please sign in to comment.