@ -9,7 +9,6 @@ jobs:
build-windows:
runs-on: windows-latest
compiler: clang
steps:
- uses: actions/checkout@v2
with:
@ -20,7 +19,7 @@ jobs:
args: install llvm
- name: add clang path to $PATH env
shell: bash
run: echo "PATH=$PATH:C:\msys64\mingw64\bin" >> $GITHUB_ENV
run: echo "PATH=$PATH:C:\msys64\mingw32\bin" >> $GITHUB_ENV
- name: build
run: cargo build --workspace --verbose
@ -16,6 +16,11 @@ fn os_define() -> &'static str {
"LINUX"
}
#[cfg(target_os = "macos")]
fn os_define() -> &'static str {
fn build_leechcore(target: &str) {
let mut files = vec![
"oscompatibility.c",