File tree Expand file tree Collapse file tree 2 files changed +67
-0
lines changed
Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test Franewrork
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ workflow_dispatch :
8+
9+
10+ jobs :
11+
12+ run-tests :
13+ runs-on : ubuntu-latest
14+ container :
15+ image : diogo21costa/bao-tests:latest
16+ options : --user root
17+ strategy :
18+ matrix :
19+ platform : [
20+ " qemu-aarch64-virt" ,
21+ ]
22+ recipe : [
23+ " single-baremetal/default.nix"
24+ ]
25+ gic : [
26+ " GICV2" ,
27+ ]
28+ cross_compile : [
29+ " CROSS_COMPILE=clang"
30+ ]
31+ steps :
32+ - uses : actions/checkout@v3
33+ with :
34+ submodules : recursive
35+
36+ - name : Run tests inside nix shell
37+ run : nix develop ./tests --command make tests PLATFORM=${{ matrix.platform }} RECIPE=${{ matrix.recipe }} ${{ matrix.cross_compile }} GIC_VERSION=${{ matrix.gic }}
Original file line number Diff line number Diff line change 1+ {
2+ description = "Bao dev environment with pinned toolchains, Python deps, and QEMU" ;
3+
4+ inputs . nixpkgs . url = "github:NixOS/nixpkgs/nixos-24.05" ;
5+
6+ outputs = { self , nixpkgs } : let
7+ system = "x86_64-linux" ;
8+ pkgs = import nixpkgs { inherit system ; } ;
9+
10+
11+ in {
12+ devShells . ${ system } . default = pkgs . mkShell {
13+ name = "bao-dev" ;
14+
15+ buildInputs = with pkgs ; [
16+ git curl wget tree vim nano sudo gnumake
17+
18+ nettools socat xterm
19+
20+ python3 python3Packages . pip python3Packages . psutil
21+ python3Packages . pyserial
22+
23+ nodejs nodePackages . cspell
24+ bison flex gawk dtc ninja pkg-config
25+ enchant
26+
27+ ] ;
28+ } ;
29+ } ;
30+ }
You can’t perform that action at this time.
0 commit comments