#Build tauri app with windowOs on LinuxOS
5 messages · Page 1 of 1 (latest)
Hi sir, i have issue when run CI
warning: [email protected]: Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Isclang-cl installed?
`pipelines:
branches:
main:
- step:
name: Build Application
image: rust:1.78.0
caches:
- node
- cargo-home
- cargo-target
- apt-lists
- apt-cache
script:
- echo "Building Application"
- echo "Checking OS Information"
- uname -a # Print kernel name, version, and other info
- cat /etc/os-release # Print detailed OS information
- apt-get update
- curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
- apt-get install -y nodejs
- apt-get install -y libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf nsis lld llvm
- rustc --version
- node --version
- rustup target add x86_64-pc-windows-msvc
- cargo install cargo-xwin
- npm run tauri build -- --runner cargo-xwin --target x86_64-pc-windows-msvc
artifacts: # defining the artifacts to be passed to each future step.
- target/x86_64-pc-windows-msvc/release/bundle/nsis/**
definitions:
caches:
cargo-home: $HOME/.cargo
cargo-target: target
apt-lists: /var/lib/apt/lists
apt-cache: /var/cache/apt
`
hmm, try adding clang to the apt-get install instructions then.