mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2026-09-01 16:05:33 +00:00
removed all targets
This commit is contained in:
parent
66b7b05d3e
commit
9ea837da99
1 changed files with 0 additions and 43 deletions
43
.github/workflows/build_and_package.yml
vendored
43
.github/workflows/build_and_package.yml
vendored
|
|
@ -10,30 +10,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
targets: >-
|
||||
x86_64-unknown-linux-gnu
|
||||
i686-unknown-linux-gnu
|
||||
build_targets: >-
|
||||
--target x86_64-unknown-linux-gnu
|
||||
--target i686-unknown-linux-gnu
|
||||
|
||||
- os: macOS-latest
|
||||
targets: >-
|
||||
x86_64-apple-darwin
|
||||
aarch64-apple-darwin
|
||||
build_targets: >-
|
||||
--target x86_64-apple-darwin
|
||||
--target aarch64-apple-darwin
|
||||
|
||||
- os: windows-latest
|
||||
targets: >-
|
||||
x86_64-pc-windows-msvc
|
||||
i686-pc-windows-msvc
|
||||
build_targets: >-
|
||||
--target x86_64-pc-windows-msvc
|
||||
--target i686-pc-windows-msvc
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
|
@ -44,32 +21,12 @@ jobs:
|
|||
toolchain: stable
|
||||
profile: minimal
|
||||
components: rustfmt, clippy
|
||||
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
|
||||
|
||||
- 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:
|
||||
command: build
|
||||
args: --release ${{ matrix.build_targets }}
|
||||
|
||||
- name: Package for Debian-based Linux distros
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue