Skip to content

Commit e2a9a8a

Browse files
authored
Fix: WIP areas and statesaving (#26)
* cicd: add build workflow * chore: update cURL to 7.62.0 * fix: disable logging by default * fix: update workflow to use vcpkg * fix: update plugin version on release * fix: updated version * Fix: Save WIP areas visibility to ASR * Fix: Update wording * Fix: Use a specific version of vcpkg
1 parent f42a2cc commit e2a9a8a

19 files changed

Lines changed: 69 additions & 5597 deletions

.github/workflows/build.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Build DLL
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches: [main]
7+
release:
8+
types: [published]
9+
10+
jobs:
11+
build:
12+
runs-on: windows-latest
13+
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@v4
17+
18+
- name: Setup MSBuild Path
19+
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce
20+
21+
- name: Bootstrap vcpkg
22+
run: |
23+
git clone https://github.com/microsoft/vcpkg.git
24+
cd vcpkg
25+
git checkout bdd229e13c66fa11acdc0bc8fed8e7474cd24aa5
26+
.\bootstrap-vcpkg.bat
27+
28+
- name: Install libcurl
29+
run: |
30+
.\vcpkg\vcpkg.exe install curl[core,ssl] --triplet x86-windows-static
31+
32+
- name: Integrate vcpkg with MSBuild
33+
run: |
34+
.\vcpkg\vcpkg.exe integrate install
35+
36+
- name: Update Plugin Version
37+
if: github.ref_type == 'tag'
38+
run: |
39+
$tag = $env:GITHUB_REF -replace 'refs/tags/', ''
40+
(Get-Content -Path "vSMR\SMRPlugin.hpp") -replace '#define MY_PLUGIN_VERSION.*', "#define MY_PLUGIN_VERSION \"$tag\"" | Set-Content -Path "vSMR\SMRPlugin.hpp"
41+
42+
- name: Build DLL
43+
run: msbuild vSMR.sln /p:Configuration=Release /p:Platform='Win32' /p:VcpkgTriplet=x86-windows-static /m
44+
45+
- name: Upload artifacts
46+
uses: actions/upload-artifact@v4
47+
with:
48+
name: vSMR.dll
49+
path: Release/vSMR.dll
50+
51+
- name: Upload to Release
52+
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8
53+
if: github.ref_type == 'tag'
54+
with:
55+
files: |
56+
Release/vSMR.dll

lib/include/curl/Makefile.am

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)