File tree Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Expand file tree Collapse file tree 2 files changed +65
-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 : diogo21costa/bao-tests:latest
15+ strategy :
16+ matrix :
17+ platform : [
18+ " qemu-aarch64-virt" ,
19+ ]
20+ recipe : [
21+ " single-baremetal/default.nix"
22+ ]
23+ gic : [
24+ " GICV2" ,
25+ ]
26+ cross_compile : [
27+ " CROSS_COMPILE=clang"
28+ ]
29+ steps :
30+ - uses : actions/checkout@v3
31+ with :
32+ submodules : recursive
33+
34+ - name : Run tests inside nix shell
35+ 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