forked from wolfSSL/wolfBoot
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 916 Bytes
/
build-keytools-windows.yml
File metadata and controls
39 lines (33 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build Windows Keytools executables
on:
push:
branches:
- master
pull_request:
branches: [ '*' ]
jobs:
build-windows:
runs-on: windows-latest
timeout-minutes: 15
steps:
# Step 1: Checkout the repository
- name: Checkout Code
uses: actions/checkout@v4
with:
submodules: true
# Step 2: Setup MSBuild
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
# Step 3: Build the solution
- name: Build Solution
shell: cmd
run: |
echo #define WOLFBOOT_SECTOR_SIZE 1024 > include\target.h
MSBuild.exe tools\keytools\wolfBootKeyTools.sln /m /p:Configuration=Release /p:Platform="x64"
# Step 4: Upload executables as artifacts
- name: Upload EXE Artifacts
uses: actions/upload-artifact@v4
with:
name: windows-keytools
path: |
tools\keytools\x64\Release\*.exe