Fixed nightly builds by providing --target flag

next
ko1N 2 years ago
parent 3c08354d18
commit 140b9173c8

@ -8,7 +8,7 @@ env:
jobs:
build_ubuntu_x86-64_bundled:
name: Build for ubuntu-latest (x86-64)
name: Build for ubuntu-latest (x86-64) with bundled headers
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -24,7 +24,7 @@ jobs:
run: cargo build --workspace --examples --verbose
build_ubuntu_x86-64_bindgen:
name: Build for ubuntu-latest (x86-64)
name: Build for ubuntu-latest (x86-64) with generated headers
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -40,7 +40,7 @@ jobs:
run: cargo build --workspace --features bindgen --examples --verbose
build_windows_x86-64_bundled:
name: Build for windows-latest (x86-64)
name: Build for windows-latest (x86-64) with bundled headers
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
@ -57,7 +57,7 @@ jobs:
run: cargo build --workspace --examples --verbose
build_windows_x86-64_bindgen:
name: Build for windows-latest (x86-64)
name: Build for windows-latest (x86-64) with generated headers
runs-on: windows-latest
steps:
- uses: actions/checkout@v2

@ -22,7 +22,7 @@ jobs:
- name: Download renamer
run: curl -sSf https://raw.githubusercontent.com/memflow/memflowup/master/target_rename.sh > target_rename.sh
- name: build
run: cargo build --workspace --verbose
run: cargo build --workspace --verbose --target x86_64-unknown-linux-gnu
- name: Rename and collect artifacts
id: artifacts
run: echo "::set-output name=artifact::$(sh ./target_rename.sh "x86_64-unknown-linux-gnu" | head -n 1)"
@ -44,7 +44,7 @@ jobs:
run: curl -sSf https://raw.githubusercontent.com/memflow/memflowup/master/target_rename.sh > target_rename.sh
- name: build
shell: bash
run: cargo build --workspace --verbose
run: cargo build --workspace --verbose --target x86_64-pc-windows-msvc
- name: Rename and collect artifacts
id: artifacts
shell: bash

@ -6,7 +6,6 @@ use std::ptr;
use std::slice;
use std::sync::{Arc, Mutex};
use log::warn;
use log::{error, info};
use memflow::cglue;

Loading…
Cancel
Save