File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed
Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -49,21 +49,28 @@ jobs:
4949 with :
5050 python-version : ${{ matrix.python-version }}
5151
52- - name : install infrastructure (Linux)
53- if : startsWith( matrix.cfg.os, 'ubuntu-' )
54- run : |
55- sudo apt-get install python3-dev python3-numpy python3-packaging
56- sudo ln -s /usr/lib/llvm-10/include/c++/v1 /usr/include/c++/v1
57-
58- - name : install infrastructure (MacOS)
59- if : startsWith( matrix.cfg.os, 'macos-' )
60- run : sudo -H pip3 install numpy packaging
52+ - name : Set up Python ${{ matrix.python-version }}
53+ uses : actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
54+ with :
55+ python-version : ${{ matrix.python-version }}
6156
62- - name : show setup
57+ - name : install python requirements
6358 run : |
59+ brew --version || true
6460 bazel --version
6561 python --version
6662 pip list
63+ sudo -H pip install distutils numpy packaging
64+ pip list
65+
66+ - name : install infrastructure (Linux)
67+ if : startsWith( matrix.cfg.os, 'ubuntu-' )
68+ run : |
69+ sudo apt-get install \
70+ python${{matrix.python-version }}-dev \
71+ python${{matrix.python-version }}-numpy \
72+ python${{matrix.python-version }}-packaging
73+ sudo ln -s /usr/lib/llvm-10/include/c++/v1 /usr/include/c++/v1
6774
6875 # - name: build-lua5.1
6976 # run: |
You can’t perform that action at this time.
0 commit comments