[AAASM-1560] ✨ (sdk): Add enforcement_mode parameter to init_assembly #80
Workflow file for this run
This file contains hidden or 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: Native Core Build Check | |
| on: | |
| pull_request: | |
| paths: | |
| - "rust/**" | |
| - "agent_assembly/**" | |
| - ".github/workflows/native-core-build.yml" | |
| workflow_dispatch: | |
| jobs: | |
| build-native-core: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install protobuf compiler | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y protobuf-compiler | |
| - name: Create virtual environment | |
| run: uv venv | |
| - name: Build native module with maturin | |
| env: | |
| PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1" | |
| run: uv tool run maturin develop --manifest-path rust/aa-ffi-python/Cargo.toml --release | |
| - name: Verify native module import | |
| run: | | |
| uv run python -c "from agent_assembly._core import RuntimeClient, GovernanceEvent, PolicyResult" |