Add proprietary LICENSE; move CI to .forgejo/workflows/, run cubical-test
Some checks are pending
Lean Action CI / build (push) Waiting to run

- LICENSE: proprietary, all rights reserved.  Public availability of
  the repo grants no license; use requires written consent from
  mgorog@gmail.com.
- README: "Reusing this engine" → "Consuming the engine (with
  permission)" with explicit pointer to LICENSE.
- CI: workflow moved from .github/workflows/ to .forgejo/workflows/
  so forgejo's runner picks it up.  Workflow now also installs Rust,
  builds native/cubical/, and runs cubical-test (62/62 verification)
  rather than only running lake build (which would have failed at
  link time without libtopolei_cubical.a).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Maximus Gorog 2026-04-27 23:04:16 -06:00
parent 92bd67ac4a
commit 5e9be0ffe2
4 changed files with 57 additions and 15 deletions

View file

@ -0,0 +1,24 @@
name: Lean Action CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Build Rust cubical kernel
run: cd native/cubical && cargo build --release
- uses: leanprover/lean-action@v1
- name: Run cubical-test
run: ./.lake/build/bin/cubical-test

View file

@ -1,14 +0,0 @@
name: Lean Action CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: leanprover/lean-action@v1

27
LICENSE Normal file
View file

@ -0,0 +1,27 @@
Copyright (c) 2026 Maximus Gorog. All rights reserved.
This software and the associated source files, documentation, build
scripts, configuration, and other materials in this repository
(collectively, the "Software") are the proprietary and confidential
property of the copyright holder.
NO LICENSE IS GRANTED. The presence of this Software in a publicly
accessible repository does not, by itself, grant any permission to
use, copy, modify, merge, publish, distribute, sublicense, link
against, embed, or create derivative works of the Software, in whole
or in part, for any purpose.
Use of any kind — including but not limited to compilation, execution,
incorporation into other software, or redistribution in any form —
requires express prior written consent from the copyright holder.
Unauthorized use is prohibited.
For licensing inquiries, contact: mgorog@gmail.com
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -21,7 +21,12 @@ preserves the Lean-level proofs.
- `CubicalTest.lean`, `CubicalBench.lean` — engine smoke + property - `CubicalTest.lean`, `CubicalBench.lean` — engine smoke + property
tests (62/62 passing) and microbenchmarks. tests (62/62 passing) and microbenchmarks.
## Reusing this engine ## Consuming the engine (with permission)
This Software is **proprietary**. See `LICENSE` — no use is granted
by virtue of the repository being public. The instructions below
are for the copyright holder and any party with prior written consent
from `mgorog@gmail.com`.
Add as a Lake dependency from another Lean 4 project: Add as a Lake dependency from another Lean 4 project: