iced/build
0xd4d 0b1277c79a Update sdist gen 2020-11-29 13:06:51 +01:00
..
README.md Remove Python 3.5 support, remove @final 2020-11-28 10:35:33 +01:00
build Add Python build script 2020-11-28 01:32:59 +01:00
build-dotnet Add Python build script 2020-11-28 01:32:59 +01:00
build-js Add Python build script 2020-11-28 01:32:59 +01:00
build-python Update sdist gen 2020-11-29 13:06:51 +01:00
build-rust Add Python build script 2020-11-28 01:32:59 +01:00
ci-install-rust.sh Add Python build script 2020-11-28 01:32:59 +01:00
ci-py-build-wheels.sh Add Python build script 2020-11-28 01:32:59 +01:00
py-build-wheels-linux.sh Remove Python 3.5 support, remove @final 2020-11-28 10:35:33 +01:00

README.md

Requirements

See .github/workflows/build.yml for all details. If something is missing from this file, open an issue and/or create a PR to update this doc.

.NET

Building and testing the C# code requires:

Rust

Building and testing the Rust code requires:

  • Rust: https://www.rust-lang.org/tools/install
  • Extra Rust stuff
    • rustup update
    • rustup component add rustfmt
    • rustup component add clippy
    • rustup target add wasm32-unknown-unknown
    • MSRV: rustup toolchain install 1.20.0
      • Pass --no-msrv to build-rust if you don't want to install it
  • .NET SDK (latest version): https://dotnet.microsoft.com/download
    • required to generate and test valid/invalid instructions (pass --no-dotnet to build-rust if you don't want to install .NET)

JavaScript

Building and testing the JavaScript code requires:

Python

Building and testing the Python code requires:

Building this repo

Pick an OS, any OS:

Windows

From the repo root dir:

sh build/build
REM It's the same as
sh build/build-rust
sh build/build-python
sh build/build-js
sh build/build-dotnet

sh is located in the git bin directory.

Linux / macOS

From the repo root dir:

./build/build
# It's the same as
./build/build-rust
./build/build-python
./build/build-js
./build/build-dotnet