M1 primary view: wx-rs patched+extended (Linux/GTK3 build, widget bridge), vendored wx 3.3.3 + asic-rs in thirdparty/, UI-SPEC table+KPIs+dialogs, build scripts

This commit is contained in:
2026-09-15 13:59:55 -06:00
parent 165d899fd8
commit b264cdd6d1
16316 changed files with 4932188 additions and 58 deletions
+26
View File
@@ -0,0 +1,26 @@
name: Linux
on:
push:
pull_request:
schedule:
- cron: "35 2 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run build
run: cargo build --verbose
- name: Run unit tests
run: cargo test --verbose
- name: Install vcpkg
run: |
git clone https://github.com/Microsoft/vcpkg.git vcp
vcp/bootstrap-vcpkg.sh
- name: Run integration tests
run: |
tests/run.sh
tests/vcpkgrs_target.sh
+23
View File
@@ -0,0 +1,23 @@
name: macOS
on:
push:
pull_request:
schedule:
- cron: "35 2 * * *"
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Run build
run: cargo build --verbose
- name: Run unit tests
run: cargo test --verbose
- name: Install vcpkg
run: |
git clone https://github.com/Microsoft/vcpkg.git vcp
vcp/bootstrap-vcpkg.sh
- name: Run integration tests
run: tests/run.sh
+41
View File
@@ -0,0 +1,41 @@
name: Rust 1.12 compile test
on:
push:
pull_request:
schedule:
- cron: "35 2 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Work around incompatible crates.io
shell: bash
# Point cargo at a rewound copy of crates.io that would be understood
# at 1.10.0. Unfortunately, pointing at a registry like this is only
# supported from 1.12.0 and beyond.
run: |
set -ex
# Tell cargo to use a different copy of crates.io.
mkdir -p .cargo
cat <<EOF > .cargo/config
[source.crates-io]
registry = "file://$(pwd)/../crates-io-rewound"
EOF
cat .cargo/config
# create copy of crates.io, reset back to when rand 0.8.0 didn't
# exist in index.
cd ..
git clone https://github.com/rust-lang/crates.io-index.git crates-io-rewound
cd crates-io-rewound
git reset --hard 46a429eac9f
- name: Set default Rust
run: rustup default 1.12.0
- name: Run build
run: cargo build --verbose
# tests can't be run because they use ONCE which needs a newer compiler
# - name: Run unit tests
# run: cargo test --verbose
+102
View File
@@ -0,0 +1,102 @@
name: Windows
on:
push:
pull_request:
schedule:
- cron: "35 7 * * *" # UTC
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
config:
- {
target: "x86_64-pc-windows-msvc",
VCPKG_DEFAULT_TRIPLET: "x64-windows-static",
RUSTFLAGS: "-Ctarget-feature=+crt-static",
}
- {
target: "x86_64-pc-windows-msvc",
VCPKG_DEFAULT_TRIPLET: "x64-windows-static-md",
}
- {
target: "x86_64-pc-windows-msvc",
VCPKG_DEFAULT_TRIPLET: "x64-windows",
VCPKGRS_DYNAMIC: 1,
}
- {
target: "i686-pc-windows-msvc",
VCPKG_DEFAULT_TRIPLET: "x86-windows-static",
RUSTFLAGS: "-Ctarget-feature=+crt-static",
}
- {
target: "i686-pc-windows-msvc",
VCPKG_DEFAULT_TRIPLET: "x86-windows-static-md",
}
- {
target: "i686-pc-windows-msvc",
VCPKG_DEFAULT_TRIPLET: "x86-windows",
VCPKGRS_DYNAMIC: 1,
}
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$Env:GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"
- name: Install the target
run: rustup target add ${{ matrix.config.target }}
- name: Run build
run: cargo build --target ${{ matrix.config.target }} --verbose
- name: Run unit tests
run: cargo test --target ${{ matrix.config.target }} --verbose
- name: Install vcpkg
run: |
git clone https://github.com/Microsoft/vcpkg.git vcp
vcp\bootstrap-vcpkg.bat
- name: Set env
shell: bash
run: |
echo "VCPKG_ROOT=${{ github.workspace }}\vcp" >> $GITHUB_ENV
- name: Run integration tests
env:
RUST_BACKTRACE: 1
RUST_TEST_THREADS: 1
VCPKG_DEFAULT_TRIPLET: "${{ matrix.config.VCPKG_DEFAULT_TRIPLET }}"
RUSTFLAGS: ${{ matrix.config.RUSTFLAGS }}
shell: bash
run: |
set -ex
rustc --version
cargo --version
echo VCPKG_ROOT=${VCPKG_ROOT}
echo dyn=${{ matrix.config.VCPKGRS_DYNAMIC }}
if [ '${{ matrix.config.VCPKGRS_DYNAMIC }}' != '' ] ; then export VCPKGRS_DYNAMIC=1 ; fi
${VCPKG_ROOT}/vcpkg.exe install curl zeromq openssl
cargo build --target ${{ matrix.config.target }} --all
cargo test --target ${{ matrix.config.target }} --all
cargo run --target ${{ matrix.config.target }} --manifest-path vcpkg_cli/Cargo.toml -- probe curl
cargo run --target ${{ matrix.config.target }} --manifest-path systest/Cargo.toml