docs(release): reconcile status, compatibility and release evidence
- adopt docs/STABLE_RELEASE_IMPLEMENTATION.md as the single next-phase plan - archive the stale M0.5 status snapshot under docs/history/ - record real local gate results, the red baseline CI, the Windows autocrlf reproduction and the unresolved macOS/native-CI status - add COMPATIBILITY.md (protocol versions + honest platform matrix), CHANGELOG.md, dual license files, docs/releasing.md and docs/security-gate.md - keep strict fail-closed: document the container EPERM/read-only cgroup probe and the exact G-C requirements instead of claiming isolation - document foreign environment binding (ADR-0020) and add a release-candidate CI job that is gated on all platform jobs
This commit is contained in:
1 parent
faa6c95cfe
commit
18d9f39562
14 files changed
+2358
-482
No files matched your search
@@ -3,6 +3,7 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
@@ -107,6 +108,13 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Host toolchain report
|
||||
shell: bash
|
||||
run: |
|
||||
rustc -vV
|
||||
(command -v cc && cc --version | head -1) || echo "cc: unavailable"
|
||||
(command -v python3 && python3 --version) || echo "python3: unavailable"
|
||||
(command -v node && node --version) || echo "node: unavailable"
|
||||
- name: Workspace tests
|
||||
run: cargo test --workspace
|
||||
- name: Portable CLI, analysis and trace smoke
|
||||
@@ -130,3 +138,57 @@ jobs:
|
||||
test "$code" -eq 1
|
||||
echo "$output" | grep -qi "strict"
|
||||
echo "$output"
|
||||
|
||||
release-candidate:
|
||||
name: release candidate artifact (${{ matrix.os }})
|
||||
needs: [test, schema, cross-platform]
|
||||
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-gnu
|
||||
- os: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Build release binary
|
||||
run: cargo build --release --locked -p marqdo-cli
|
||||
- name: Package and checksum
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
version="$(cargo metadata --no-deps --format-version 1 | python3 -c 'import json,sys; print(json.load(sys.stdin)["packages"][0]["version"])')"
|
||||
stage="dist/marqdo-${version}-${{ matrix.target }}"
|
||||
mkdir -p "$stage"
|
||||
install -m 0755 target/release/marqdo "$stage/"
|
||||
cp LICENSE-MIT LICENSE-APACHE CHANGELOG.md COMPATIBILITY.md README.md "$stage/"
|
||||
cp -r spec examples "$stage/"
|
||||
tar -C dist -czf "dist/marqdo-${version}-${{ matrix.target }}.tar.gz" "$(basename "$stage")"
|
||||
cd dist
|
||||
if command -v sha256sum >/dev/null 2>&1; then
|
||||
sha256sum "marqdo-${version}-${{ matrix.target }}.tar.gz" > "marqdo-${version}-${{ matrix.target }}.tar.gz.sha256"
|
||||
else
|
||||
shasum -a 256 "marqdo-${version}-${{ matrix.target }}.tar.gz" > "marqdo-${version}-${{ matrix.target }}.tar.gz.sha256"
|
||||
fi
|
||||
cat "marqdo-${version}-${{ matrix.target }}.tar.gz.sha256"
|
||||
- name: Clean-install smoke
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
tmp="$(mktemp -d)"
|
||||
tar -C "$tmp" -xzf dist/marqdo-*.tar.gz
|
||||
cd "$tmp"/marqdo-*
|
||||
./marqdo --version
|
||||
./marqdo --help >/dev/null
|
||||
./marqdo check examples/multi-module/index.mq.md
|
||||
./marqdo run examples/hello.mq.md
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: marqdo-${{ matrix.target }}
|
||||
path: dist/marqdo-*.tar.gz*
|
||||
if-no-files-found: error
|
||||
Reference in new issue
Block a user