Skip to content

Fix(RAP-7/#20): CLI crashes on Linux (#23) #19

Fix(RAP-7/#20): CLI crashes on Linux (#23)

Fix(RAP-7/#20): CLI crashes on Linux (#23) #19

Workflow file for this run

name: Build and Artifact
on:
pull_request:
types: [opened, synchronize, reopened]
branches: ["master", "main"]
push:
branches: ["master", "main"]
permissions:
contents: write
statuses: write
jobs:
build_wheels:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
with:
working-directory: "."
enable-cache: true
cache-dependency-glob: |
**/*requirements*.txt
**/*requirements*.in
**/*constraints*.txt
**/*constraints*.in
**/pyproject.toml
**/uv.lock
**/*.py.lock
- name: Build wheels
uses: pypa/cibuildwheel@v3.4.1
with:
output-dir: dist
env:
CIBW_BEFORE_ALL_LINUX: |
curl -L -o premake.tar.gz https://github.com/premake/premake-core/archive/refs/tags/v5.0.0-beta8.tar.gz
tar -xvf premake.tar.gz
cd premake-core-5.0.0-beta8
yum install -y libuuid-devel make gcc
make -f Bootstrap.mak linux
rm ../binaries/premake5-linux
cp ./bin/release/premake5 ../binaries/premake5-linux
- name: Artifact wheels
uses: actions/upload-artifact@v4
with:
name: release-dists-${{ matrix.os }}
path: dist/
retention-days: 30