Fixed ci script

pull/7/head
ko1N 4 years ago
parent 119a9de022
commit 931e421a0f

@ -9,7 +9,6 @@ jobs:
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
compiler: clang
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -20,7 +19,7 @@ jobs:
args: install llvm args: install llvm
- name: add clang path to $PATH env - name: add clang path to $PATH env
shell: bash shell: bash
run: echo "PATH=$PATH:C:\msys64\mingw64\bin" >> $GITHUB_ENV run: echo "PATH=$PATH:C:\msys64\mingw32\bin" >> $GITHUB_ENV
- name: build - name: build
shell: bash shell: bash
run: cargo build --workspace --verbose run: cargo build --workspace --verbose

@ -16,6 +16,11 @@ fn os_define() -> &'static str {
"LINUX" "LINUX"
} }
#[cfg(target_os = "macos")]
fn os_define() -> &'static str {
"LINUX"
}
fn build_leechcore(target: &str) { fn build_leechcore(target: &str) {
let mut files = vec![ let mut files = vec![
"oscompatibility.c", "oscompatibility.c",

Loading…
Cancel
Save