Skip to content

edit todo

edit todo #88

Workflow file for this run

name: Linux Builds
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# selecting a toolchain either by action or manual `rustup` calls should happen
# before the plugin, as it uses the current rustc version as its cache key
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: latest
platform: x64
- uses: Swatinem/rust-cache@v1
- name: Install sccache
run: if [ -e ~/.cargo/bin/sccache ] ; then echo "Sccache is already installed"; else cargo install sccache -f; fi
- name: Install fleet
run: cargo install --path . fleet-rs -f
- name: Run app using fleet
run: fleet build -- --bin fleet
- name: Install cargo bloat
run: cargo install cargo-bloat
- name: Run bloat analysis
run: fleet bloat