Skip to content

Commit d59bdc4

Browse files
committed
fix workflow for 64 bit build
1 parent 9123e9c commit d59bdc4

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/automaticRelease.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ jobs:
6060
filename: '../libmathcat_py-64-3.11-win.zip'
6161
directory: 'Example'
6262
path: 'libmathcat_py.pyd'
63-
# build the test after zipping up "Rules" because the test will unzip the files needed for the test
64-
63+
# build the test after zipping up "Rules" because the test will unzip the files needed for the test
6564
- name: test build
6665
run: |
6766
cd Example
@@ -95,6 +94,14 @@ jobs:
9594
architecture: 'x86'
9695
- name: Build Rust Library
9796
run: cargo build --target i686-pc-windows-msvc --release
97+
- name: Setup Example dir
98+
run: |
99+
cp target/i686-pc-windows-msvc/release/libmathcat_py.dll Example/libmathcat_py.pyd
100+
cp -r addon/globalPlugins/MathCAT/Rules Example
101+
- name: test build
102+
run: |
103+
cd Example
104+
python test.py
98105
- name: Set up addons dir
99106
run: |
100107
cp target/i686-pc-windows-msvc/release/libmathcat_py.dll addon/globalPlugins/MathCAT/libmathcat_py.pyd
@@ -123,8 +130,8 @@ jobs:
123130
- name: Setup Example dir
124131
run: |
125132
ls -l target
126-
ls -l target/target/x86_64-unknown-linux-gnu
127-
ls -l target/target/x86_64-unknown-linux-gnu/release
133+
ls -l target/x86_64-unknown-linux-gnu
134+
ls -l target/x86_64-unknown-linux-gnu/release
128135
cp target/x86_64-unknown-linux-gnu/release/libmathcat_py.dll Example/libmathcat_py.pyd
129136
cp -r addon/globalPlugins/MathCAT/Rules Example
130137
- name: test build

0 commit comments

Comments
 (0)