ci: remove build workflow
We need to collect the dependency names for debian based distros, which I will do at a later date
This commit is contained in:
43
.github/workflows/build.yml
vendored
43
.github/workflows/build.yml
vendored
@@ -1,43 +0,0 @@
|
|||||||
name: Build Cargo Workspace
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_call:
|
|
||||||
workflow_dispatch:
|
|
||||||
pull_request:
|
|
||||||
branches: ["master"]
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- "*"
|
|
||||||
|
|
||||||
env:
|
|
||||||
CARGO_TERM_COLOR: always
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build Cargo Workspace
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install Nix
|
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
|
||||||
with:
|
|
||||||
logger: pretty
|
|
||||||
|
|
||||||
- name: Get build dependencies
|
|
||||||
run: "nix develop .#"
|
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
|
||||||
name: Cache dependencies
|
|
||||||
|
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
name: Build crate
|
|
||||||
with:
|
|
||||||
command: build
|
|
||||||
args: --verbose --all-features
|
|
Reference in New Issue
Block a user