File tree Expand file tree Collapse file tree 8 files changed +2693
-2480
lines changed Expand file tree Collapse file tree 8 files changed +2693
-2480
lines changed Original file line number Diff line number Diff line change 2525 runs-on : ${{ matrix.os }}
2626 strategy :
2727 matrix :
28- name : [
29- linux,
30- macos
31- ]
28+ name : [linux, macos]
3229
3330 include :
3431 - name : linux
@@ -42,21 +39,24 @@ jobs:
4239 steps :
4340 - name : Checkout code
4441 uses : actions/checkout@v1
45-
42+
43+ - name : Install dependencies
44+ run : sudo apt install -y pkg-config libudev-dev
45+
4646 - name : Use Rust toolchain
4747 uses : actions-rs/toolchain@v1
4848 with :
4949 profile : minimal
5050 toolchain : stable
51-
51+
5252 - name : Build
5353 run : cargo build --release --locked
5454
5555 - name : Rename executable based on OS
5656 env :
5757 ASSET_NAME : ${{matrix.asset_name}}
5858 EXEC_PATH : ${{matrix.artifact_path}}
59- run : |
59+ run : |
6060 echo "asset name: ${ASSET_NAME} executable path: ${EXEC_PATH}"
6161 mv ${EXEC_PATH} ${ASSET_NAME}
6262
Original file line number Diff line number Diff line change 2626 steps :
2727 - uses : actions/checkout@v4
2828
29+ - name : Install dependencies
30+ run : sudo apt install -y pkg-config libudev-dev
31+
2932 - name : Install Rust
3033 uses : dtolnay/rust-toolchain@stable
3134
You can’t perform that action at this time.
0 commit comments