Skip to content

Commit 597e304

Browse files
committed
split into more smaller jobs
1 parent 712115e commit 597e304

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/automaticRelease.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
- name: Checkout code
3535
uses: actions/checkout@v3
3636
- name: Build Rust Library
37-
run: dir 'addon/globalPlugins/MathCAT'
37+
run: |
38+
cargo build --target x86_64-pc-windows-msvc # doesn't need a release build since all that we want is the Rules dir
3839
- name: create rules.zip
3940
uses: thedoctor0/zip-release@0.7.5
4041
with:
@@ -63,10 +64,10 @@ jobs:
6364
architecture: 'x86'
6465
- name: Build Rust Library
6566
run: |
66-
cargo build --target x86_32-pc-windows-msvc --release
67+
cargo build --target i686-pc-windows-msvc --release
6768
- name: Setup Example dir
6869
run: |
69-
cp target/x86_32-pc-windows-msvc/release/libmathcat_py.dll Example/libmathcat_py.pyd
70+
cp target/i686-pc-windows-msvc/release/libmathcat_py.dll Example/libmathcat_py.pyd
7071
mv addon/globalPlugins/MathCAT/Rules Example
7172
- name: test the build
7273
run: |

0 commit comments

Comments
 (0)