Skip to content

Merge pull request #390 from GiGainfosystems/master #435

Merge pull request #390 from GiGainfosystems/master

Merge pull request #390 from GiGainfosystems/master #435

Workflow file for this run

on:
pull_request:
push:
branches:
- master
name: bloat
jobs:
cargo_bloat:
name: ${{ matrix.build }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
build: [Linux, macOS, Win32-gnu, Win64-gnu]
include:
- build: Linux
os: ubuntu-latest
- build: macOS
os: macOS-latest
- build: Win32-gnu
os: windows-latest
rust: stable-i686-pc-windows-gnu
target: i686-pc-windows-gnu
- build: Win64-gnu
os: windows-latest
rust: stable-x86_64-pc-windows-gnu
target: x86_64-pc-windows-gnu
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust || 'stable' }}
target: ${{ matrix.target }}
profile: minimal
override: true
- name: Run cargo bloat
continue-on-error: true
uses: orf/cargo-bloat-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
exclude_packages: "os_info"