Skip to content

Commit f6c8bb4

Browse files
committed
Add win32 binaries
1 parent 01d88bb commit f6c8bb4

File tree

3 files changed

+26
-6
lines changed

3 files changed

+26
-6
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ on:
66
branches: [ main ]
77

88
jobs:
9+
build-win32-binaries:
10+
runs-on: windows-2022
11+
steps:
12+
- uses: actions/checkout@v4
13+
- run: cmake -S ./runtime -B ./runtime/win64 -G "Visual Studio 17 2022" -A Win32
14+
- run: cmake --build ./runtime/win64 --config release --target install
15+
- uses: actions/upload-artifact@v4
16+
with:
17+
name: win32
18+
path: ./FMI/Resources/Library/win32/ModelicaFMI.dll
19+
if-no-files-found: error
920
build-win64-binaries:
1021
runs-on: windows-2022
1122
steps:
@@ -14,21 +25,28 @@ jobs:
1425
- run: cmake --build ./runtime/win64 --config release --target install
1526
- uses: actions/upload-artifact@v4
1627
with:
17-
name: win64
18-
path: ./FMI/Resources/Library/win64/ModelicaFMI.dll
19-
if-no-files-found: error
28+
name: win64
29+
path: ./FMI/Resources/Library/win64/ModelicaFMI.dll
30+
if-no-files-found: error
2031
build-wheel:
2132
runs-on: ubuntu-22.04
2233
needs: [ build-win64-binaries ]
2334
steps:
2435
- uses: actions/checkout@v4
36+
- uses: actions/download-artifact@v4
37+
with:
38+
name: win32
39+
path: ./FMI/Resources/Library/win32/
2540
- uses: actions/download-artifact@v4
2641
with:
2742
name: win64
28-
path: .
43+
path: ./FMI/Resources/Library/win64/
2944
- run: tree
3045
- uses: actions/upload-artifact@v4
3146
with:
3247
name: Modelica-FMI
33-
path: .
48+
path: |
49+
FMI/
50+
LICENSE
51+
READDME.md
3452
if-no-files-found: error
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ModelicaFMI.dll
2+
ModelicaFMI.lib

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 2-Clause License
22

3-
Copyright (c) 2024, Modelica Association
3+
Copyright (c) 2025, Modelica Association
44

55
Redistribution and use in source and binary forms, with or without
66
modification, are permitted provided that the following conditions are met:

0 commit comments

Comments
 (0)