Skip to content

COMPAS FAB 2.0 release #1123

COMPAS FAB 2.0 release

COMPAS FAB 2.0 release #1123

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
if: "!contains(github.event.pull_request.labels.*.name, 'docs-only')"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.9', '3.13']
steps:
- uses: compas-dev/compas-actions.build@v5
env:
CFLAGS: ${{ startsWith(matrix.os, 'macos') && '-fno-define-target-os-macros' || '' }}
with:
python: ${{ matrix.python }}
invoke_lint: true
build-cpython-components:
runs-on: windows-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Create CPython Grasshopper user objects
run: |
invoke build-cpython-ghuser-components
- uses: actions/upload-artifact@v5
with:
name: compas_fab_components
path: src/compas_fab/ghpython/components_cpython/ghuser