Skip to content

Commit 825fca4

Browse files
authored
Merge pull request #175 from Arrowana/chore/diet-solana-crates-2.3
chore: Diet solana-* crates 2.3
2 parents 44f30e3 + 9ce28ed commit 825fca4

File tree

8 files changed

+2693
-2480
lines changed

8 files changed

+2693
-2480
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ jobs:
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

.github/workflows/test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
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

0 commit comments

Comments
 (0)