1+ # Copyright (C) 2021 The SymbiFlow Authors.
2+ #
3+ # Use of this source code is governed by a ISC-style
4+ # license that can be found in the LICENSE file or at
5+ # https://opensource.org/licenses/ISC
6+ #
7+ # SPDX-License-Identifier: ISC
8+
19name : " Setup system for package"
210description : " Set up system with Python environment and dependencies ready for the package."
311inputs :
@@ -27,13 +35,13 @@ inputs:
2735 default : false
2836
2937runs :
30- using : " composite "
38+ using : " includes "
3139
3240 steps :
3341 - name : 🐍 Set up Python ${{ matrix.python-version }}
3442 uses : actions/setup-python@v2
3543 with :
36- python-version : ${{ input .python-version }}
44+ python-version : ${{ inputs .python-version }}
3745
3846 - name : Install latest pip
3947 run : |
@@ -58,28 +66,28 @@ runs:
5866 - name : Install packaging tooling
5967 if : inputs.packaging-tools
6068 run : |
61- pip install twine auditwheel
69+ pip install twine auditwheel build
6270
63- - uses : ./.github/workflows /checkout
71+ - includes : /checkout
6472 if : inputs.git-checkout
6573
66- - name : Install development system dependencies (Ubuntu)
74+ - name : Install developer tooling's system dependencies (Ubuntu)
6775 if : inputs.development-tools && startsWith(inputs.os, 'ubuntu')
6876 run : |
6977 sudo apt-get update
7078 sudo apt-get install -y clang-format
7179
72- - name : Install development system dependencies (Mac OS X)
80+ - name : Install developer tooling's system dependencies (Mac OS X)
7381 if : inputs.development-tools && startsWith(inputs.os, 'macos')
7482 run : |
7583 true
7684
77- - name : Install development system dependencies (Windows)
85+ - name : Install developer tooling's system dependencies (Windows)
7886 if : inputs.development-tools && startsWith(inputs.os, 'windows')
7987 run : |
8088 true
8189
82- - name : Install development tooling
90+ - name : Install development tools
8391 if : inputs.development-tools
8492 run : |
8593 pip install -r requirements.txt
0 commit comments