mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2025-12-23 22:29:01 -05:00
added build target installation
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user