File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 5757 - run : nix-build shell.nix --argstr spdk-path ./spdk
5858 - run : nix-shell --argstr spdk-path spdk --run "./build_scripts/build_spdk.sh configure -t $(uname -m)-unknown-linux-gnu"
5959 - run : nix-shell --argstr spdk-path spdk --run "./build_scripts/build_spdk.sh make"
60- - run : nix-shell --argstr spdk-path spdk --run "cargo build --all"
60+ - run : nix-shell --argstr spdk-path spdk --run "cargo build --all --examples"
61+ - run : sudo sysctl -w vm.nr_hugepages=512
62+ - run : sudo -E ./target/debug/examples/hello_world
63+ if : ${{ matrix.os != 'github-arm64-2c-8gb' }}
6164 # - name: Setup tmate session
6265 # if: ${{ failure() }}
6366 # timeout-minutes: 120
Original file line number Diff line number Diff line change 2828 name : Commit Lint
2929 description : Runs commitlint against the commit message.
3030 language : system
31- entry : bash -c 'nix-shell --pure --run "cat $1 | grep -v '^#' | commitlint"'
31+ entry : bash -c 'nix-shell --pure --argstr spdk none -- run "cat $1 | grep -v '^#' | commitlint"'
3232 args : [$1]
3333 stages : [commit-msg]
Original file line number Diff line number Diff line change 4848, astyle
4949} :
5050let
51+ nix-prefetch-github = pkgs . runCommand "nix-prefetch-github" { } ''
52+ mkdir -p $out/bin
53+ cp ${ pkgs . nix-prefetch-github } /bin/nix-prefetch-github $out/bin/nix-prefetch-github
54+ '' ;
55+
5156 # Suffix for debug build name.
5257 nameSuffix = if build-type == "debug" then "-dev" else "" ;
5358
113118
114119 sourceRoot = spdk . name ;
115120
116- devBuildInputs = [ astyle pkgs . python3Packages . tabulate pkgs . python3Packages . jinja2 pkgs . nix-prefetch-github ] ;
121+ devBuildInputs = [ astyle pkgs . python3Packages . tabulate pkgs . python3Packages . jinja2 nix-prefetch-github ] ;
117122
118123 nativeBuildInputs = [
119124 cmake
You can’t perform that action at this time.
0 commit comments