mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2026-08-03 22:29:50 +00:00
added build target installation
This commit is contained in:
parent
485f85148f
commit
c411eec83c
1 changed files with 20 additions and 0 deletions
20
.github/workflows/build_and_package.yml
vendored
20
.github/workflows/build_and_package.yml
vendored
|
|
@ -51,6 +51,26 @@ jobs:
|
|||
targets: ${{ matrix.targets }}
|
||||
default: true
|
||||
|
||||
- name: Install build targets for Ubuntu
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
rustup target add x86_64-unknown-linux-gnu
|
||||
rustup target add i686-unknown-linux-gnu
|
||||
rustup target add aarch64-unknown-linux-gnu
|
||||
rustup target add armv7-unknown-linux-gnueabihf
|
||||
|
||||
- name: Install build targets for macOS
|
||||
if: matrix.os == 'macOS-latest'
|
||||
run: |
|
||||
rustup target add x86_64-apple-darwin
|
||||
rustup target add aarch64-apple-darwin
|
||||
|
||||
- name: Install build targets for Windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: |
|
||||
rustup target add x86_64-pc-windows-msvc
|
||||
rustup target add i686-pc-windows-msvc
|
||||
|
||||
- name: Build
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue