Skip to content

feat: Update flake.nix to not account for all files #3

feat: Update flake.nix to not account for all files

feat: Update flake.nix to not account for all files #3

Workflow file for this run

name: Build
on:
push:
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: "write"
contents: "read"
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Run `nix flake check`
run: nix flake check
- name: Run codecov
run: nix --extra-experimental-features "nix-command flakes" build .#mnn-llvm-cov
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
flags: unittests
name: codecov-mnn
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: ./result
verbose: true