File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change 2222 cargo build -p framework_lib
2323 cargo build -p framework_tool
2424
25- freebsd-cross-build :
26- name : Cross-Build for FreeBSD
27- runs-on : ' ubuntu-24.04'
28- env :
29- CARGO_NET_GIT_FETCH_WITH_CLI : true
30- steps :
31- - uses : actions/checkout@v4
32-
33- - name : Install dependencies
34- run : |
35- sudo apt-get update
36- sudo apt-get install -y libudev-dev libhidapi-dev
37-
38- - name : Setup Rust toolchain
39- run : |
40- rm rust-toolchain.toml
41- rustup target add x86_64-unknown-freebsd
42- rustup show
43-
44- - name : Install cross compilation tool
45- run : cargo install cross
46-
47- - name : Build FreeBSD lib
48- run : |
49- cross build --target=x86_64-unknown-freebsd -p framework_lib
50-
51- - name : Upload FreeBSD App
52- uses : actions/upload-artifact@v4
53- with :
54- name : framework_tool_freebsd
55- path : target/x86_64-unknown-freebsd/debug/framework_tool
56-
5725 build :
5826 name : Build Linux
5927 runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments