Skip to content

Commit 258bb4c

Browse files
committed
install deps on all platforms
1 parent 716921b commit 258bb4c

File tree

2 files changed

+34
-25
lines changed

2 files changed

+34
-25
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,35 @@ jobs:
6969
- uses: actions-rust-lang/setup-rust-toolchain@v1
7070
with:
7171
target: ${{ matrix.rust-target }}
72-
- name: Install Dependencies
72+
73+
- name: Install Dependencies (Linux)
7374
if: runner.os == 'Linux'
7475
run: |
7576
sudo apt-get update
7677
sudo apt-get install -y software-properties-common
7778
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
7879
sudo apt-get update
79-
sudo apt-get install -y gcc gcc-aarch64-linux-gnu
80-
- run: cargo build --release --target ${{ matrix.rust-target }}
80+
sudo apt-get install -y gcc gcc-aarch64-linux-gnu cmake libssl-dev
81+
82+
- name: Install Dependencies (macOS)
83+
if: runner.os == 'macOS'
84+
run: |
85+
brew update
86+
brew install cmake openssl
87+
88+
- name: Install Dependencies (Windows)
89+
if: runner.os == 'Windows'
90+
run: |
91+
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' -y
92+
choco install openssl -y
93+
94+
- name: Build Project
95+
run: cargo build --release --target ${{ matrix.rust-target }}
96+
8197
- name: Run Tests
8298
if: matrix.rust-target != 'aarch64-pc-windows-msvc'
8399
run: cargo test --all-features
100+
84101
- name: Upload Build Artifact
85102
uses: actions/upload-artifact@v4
86103
with:

.idea/workspace.xml

Lines changed: 14 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)