File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 - uses : actions/checkout@v4
1515 - uses : cachix/install-nix-action@v27
1616
17- - name : Build and test
18- run : nix build .#checks.x86_64-linux.tests
17+ - name : Configure
18+ run : nix develop -c cmake --preset build-linux -DUSE_SINGLE_PRECISION=ON
19+
20+ - name : Build test binary
21+ run : nix develop -c cmake --build build --target operon_test -j4
22+
23+ - name : Run tests
24+ run : nix develop -c ctest --test-dir build --output-on-failure -j4
Original file line number Diff line number Diff line change 132132 ) ;
133133 } ;
134134
135- checks . tests = operon . overrideAttrs ( _ : {
136- doCheck = true ;
137- } ) ;
138-
139135 apps . operon-gp . program = "${ packages . default } /bin/operon_gp" ;
140136 apps . operon-nsgp . program = "${ packages . default } /bin/operon_nsgp" ;
141137 apps . operon-parse-model . program = "${ packages . default } /bin/operon_parse_model" ;
You can’t perform that action at this time.
0 commit comments