mirror of
https://codeberg.org/unspeaker/vestal.git
synced 2025-12-06 12:56:41 +01:00
15 lines
931 B
YAML
15 lines
931 B
YAML
on: [push]
|
|
jobs:
|
|
build:
|
|
container:
|
|
image: nixos/nix:latest
|
|
steps:
|
|
- run: nix-channel --list && nix-channel --update
|
|
- run: nix-shell --cores 4 -p git --command 'git clone --recursive $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .'
|
|
- run: whoami && pwd && ls -al
|
|
- run: nix-shell --cores 4 --command 'cloc src/ && cloc .' .forgejo/workflows/build.nix
|
|
- run: nix-shell --cores 4 --command 'rustup install nightly && cargo version -vv' .forgejo/workflows/build.nix
|
|
- run: nix-shell --cores 4 --command 'just cov-md' .forgejo/workflows/build.nix
|
|
- run: nix-shell --cores 4 --command 'just doc' .forgejo/workflows/build.nix
|
|
- run: nix-shell --cores 4 --command 'just build-release' .forgejo/workflows/build.nix
|
|
#- run: nix-shell -p docker --command "docker run --security-opt seccomp=unconfined -v $PWD:/volume xd009642/tarpaulin cargo tarpaulin --out Html --all-features"
|