Merge pull request #228738 from Luflosi/update/aaaaxy

This commit is contained in:
Sandro 2023-05-10 16:02:19 +02:00 committed by GitHub
commit dfc76445d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View file

@ -3,14 +3,16 @@
meta.maintainers = with lib.maintainers; [ Luflosi ];
nodes.machine = {
hardware.opengl.enable = true;
imports = [
./common/x11.nix
];
};
# This starts the game from a known state, feeds it a prerecorded set of button presses
# and then checks if the final game state is identical to the expected state.
# This is also what AAAAXY's CI system does and serves as a good sanity check.
testScript = ''
machine.wait_for_unit("basic.target")
machine.wait_for_x()
machine.succeed(
# benchmark.dem needs to be in a mutable directory,
@ -18,7 +20,6 @@
"mkdir -p '/tmp/aaaaxy/assets/demos/'",
"ln -s '${pkgs.aaaaxy.testing_infra}/assets/demos/benchmark.dem' '/tmp/aaaaxy/assets/demos/'",
"""
'${pkgs.xvfb-run}/bin/xvfb-run' \
'${pkgs.aaaaxy.testing_infra}/scripts/regression-test-demo.sh' \
'aaaaxy' 'on track for Any%, All Paths and No Teleports' \
'${pkgs.aaaaxy}/bin/aaaaxy' '/tmp/aaaaxy/assets/demos/benchmark.dem'

View file

@ -17,17 +17,17 @@
buildGoModule rec {
pname = "aaaaxy";
version = "1.3.457";
version = "1.3.524";
src = fetchFromGitHub {
owner = "divVerent";
repo = pname;
rev = "v${version}";
hash = "sha256-PN/Gt2iDOWsbKspyWYKjnX98xF6NQuGVFjlEg3ZZpio=";
hash = "sha256-9g0wTvG6XSKI7e3RP6e3RoYyvE5UjOYxI5hVINI9Fq8=";
fetchSubmodules = true;
};
vendorHash = "sha256-vI8EyZgjJA89UmqoDuh/H+qQzAKO9pyqpmA8hci9cco=";
vendorHash = "sha256-slvBpweXRLsDegJDQ0ysZ0pugx5fdOOnD/OxWUfUnno=";
buildInputs = [
alsa-lib