This repository contains some CI helper tools.
👉 https://github.com/qeda/ci/releases/download/compiler/compiler.tar.xz
Unpack:
sudo tar -xf compiler.tar.xz -C /
Install prerequisites:
sudo apt install -y clang g++ llvm libxml2
Compile:
rustup target add x86_64-apple-darwin
rustup target add x86_64-pc-windows-gnu
# Linux
cargo build
# MacOS
mkdir -p .cargo
echo -e "[target.x86_64-apple-darwin]\nlinker = \"x86_64-apple-darwin14-clang\"\nar = \"x86_64-apple-darwin14-ar\"\n" > .cargo/config
cargo build --target=x86_64-apple-darwin
# Windows
cargo build --target=x86_64-pc-windows-gnu
Build:
make
Test:
make test