File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments