Skip to content

Commit a36370e

Browse files
authored
update windows CI (#133)
* update windows CI * add ECHO ON
1 parent e2950f3 commit a36370e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/conda-package-cf.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ env:
1212
PACKAGE_NAME: mkl_fft
1313
MODULE_NAME: mkl_fft
1414
TEST_ENV_NAME: test_mkl_fft
15-
15+
VER_SCRIPT1: "import json; f = open('ver.json', 'r'); j = json.load(f); f.close(); d = j['mkl_fft'][0];"
16+
VER_SCRIPT2: "print('='.join((d[s] for s in ('version', 'build'))))"
17+
1618
jobs:
1719
build:
1820
runs-on: ubuntu-latest
@@ -232,6 +234,7 @@ jobs:
232234
- name: Collect dependencies
233235
shell: cmd /C CALL {0}
234236
run: |
237+
@ECHO ON
235238
IF NOT EXIST ver.json (
236239
copy /Y ${{ env.workdir }}\ver.json .
237240
)

.github/workflows/conda-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ env:
1212
PACKAGE_NAME: mkl_fft
1313
MODULE_NAME: mkl_fft
1414
TEST_ENV_NAME: test_mkl_fft
15+
VER_SCRIPT1: "import json; f = open('ver.json', 'r'); j = json.load(f); f.close(); d = j['mkl_fft'][0];"
16+
VER_SCRIPT2: "print('='.join((d[s] for s in ('version', 'build'))))"
1517

1618
jobs:
1719
build:
@@ -230,6 +232,7 @@ jobs:
230232
- name: Collect dependencies
231233
shell: cmd /C CALL {0}
232234
run: |
235+
@ECHO ON
233236
IF NOT EXIST ver.json (
234237
copy /Y ${{ env.workdir }}\ver.json .
235238
)

0 commit comments

Comments
 (0)