File tree Expand file tree Collapse file tree 2 files changed +34
-25
lines changed
Expand file tree Collapse file tree 2 files changed +34
-25
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments