File tree Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -42,22 +42,21 @@ jobs:
42
42
runs-on : windows-latest
43
43
strategy :
44
44
matrix :
45
- python-version : ['3.7.5 ']
45
+ python-version : ['3.7']
46
46
steps :
47
47
- uses : actions/checkout@v1
48
- - uses : numworks/setup-msys2@v1
49
48
- uses : actions/setup-python@v1
50
49
with :
51
50
python-version : ${{ matrix.python-version }}
52
51
- name : CI test windows py${{ matrix.python-version }}
53
- shell : cmd
52
+ shell : bash
54
53
run : |
55
54
python -m pip install wheel setuptools
56
- curl -sSOL https://github.com/bazelbuild/bazel/releases/download/% BAZEL_VERSION% /bazel-% BAZEL_VERSION% -windows-x86_64.exe
57
- echo export BAZEL_VC=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise/VC/ >>D:\a\_temp\msys\msys64\home\runneradmin\.bash_profile
58
- echo export BAZEL_PATH=/d/a/addons/addons/bazel-% BAZEL_VERSION% -windows-x86_64.exe >>D:\a\_temp\msys\msys64\home\runneradmin\.bash_profile
59
- echo export PATH=/c/hostedtoolcache/windows/Python/${{ matrix.python-version }}/x64/:$PATH >>D:\a\_temp\msys\msys64\home\runneradmin\.bash_profile
60
- msys2do ./tools/ci_testing/addons_cpu.sh
55
+ curl -sSOL https://github.com/bazelbuild/bazel/releases/download/${ BAZEL_VERSION} /bazel-${ BAZEL_VERSION} -windows-x86_64.exe
56
+ export BAZEL_VC=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise/VC/
57
+ export BAZEL_PATH=/d/a/addons/addons/bazel-${ BAZEL_VERSION} -windows-x86_64.exe
58
+ export PATH=/c/hostedtoolcache/windows/Python/${{ matrix.python-version }}/x64/:$PATH
59
+ bash -x -e ./tools/ci_testing/addons_cpu.sh
61
60
sanity-check :
62
61
name : Sanity Check
63
62
runs-on : ubuntu-18.04
Original file line number Diff line number Diff line change @@ -13,19 +13,18 @@ jobs:
13
13
runs-on : windows-latest
14
14
strategy :
15
15
matrix :
16
- python-version : ['3.7.5 ']
16
+ python-version : ['3.7']
17
17
steps :
18
18
- uses : actions/checkout@v1
19
- - uses : numworks/setup-msys2@v1
20
19
- uses : actions/setup-python@v1
21
20
with :
22
21
python-version : ${{ matrix.python-version }}
23
22
- name : Nightly test Windows py${{ matrix.python-version }}
24
- shell : cmd
23
+ shell : bash
25
24
run : |
26
25
python -m pip install wheel setuptools
27
- curl -sSOL https://github.com/bazelbuild/bazel/releases/download/% BAZEL_VERSION% /bazel-% BAZEL_VERSION% -windows-x86_64.exe
28
- echo export BAZEL_VC=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise/VC/ >>D:\a\_temp\msys\msys64\home\runneradmin\.bash_profile
29
- echo export BAZEL_PATH=/d/a/addons/addons/bazel-% BAZEL_VERSION% -windows-x86_64.exe >>D:\a\_temp\msys\msys64\home\runneradmin\.bash_profile
30
- echo export PATH=/c/hostedtoolcache/windows/Python/${{ matrix.python-version }}/x64/:$PATH >>D:\a\_temp\msys\msys64\home\runneradmin\.bash_profile
31
- msys2do ./tools/ci_testing/addons_cpu.sh
26
+ curl -sSOL https://github.com/bazelbuild/bazel/releases/download/${ BAZEL_VERSION} /bazel-${ BAZEL_VERSION} -windows-x86_64.exe
27
+ export BAZEL_VC=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise/VC/
28
+ export BAZEL_PATH=/d/a/addons/addons/bazel-${ BAZEL_VERSION} -windows-x86_64.exe
29
+ export PATH=/c/hostedtoolcache/windows/Python/${{ matrix.python-version }}/x64/:$PATH
30
+ bash -x -e ./tools/ci_testing/addons_cpu.sh
You can’t perform that action at this time.
0 commit comments