fix crash caused by unsupported locales #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package | |
on: | |
push: | |
branches: | |
- main | |
- v*-branch | |
pull_request: | |
branches: | |
- main | |
- v*-branch | |
workflow_call: | |
concurrency: | |
group: package-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
package: | |
name: Package | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Check Python version | |
run: | | |
set -x | |
python --version | |
pip --version | |
python -c "import platform; print(platform.architecture())" | |
- name: Install Python dependencies | |
run: | | |
pip install --user setuptools wheel | |
- name: Check out Kconfiglib source code | |
uses: actions/checkout@v4 | |
- name: Build source distribution | |
run: | | |
python setup.py sdist | |
- name: Build built distribution wheel | |
run: | | |
python setup.py bdist_wheel | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist | |
path: dist/* |