.cirrus.yml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. linux-x86_64-binaries_task:
  2. container:
  3. image: ubuntu:latest
  4. setup_script:
  5. - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential libgtk2.0-dev libpulse-dev mesa-common-dev libcairo2-dev libsdl2-dev libxv-dev libao-dev libopenal-dev libudev-dev zip
  6. compile_script:
  7. - make -C bsnes local=false
  8. package_script:
  9. - mkdir bsnes-nightly
  10. - mkdir bsnes-nightly/Database
  11. - mkdir bsnes-nightly/Firmware
  12. - cp -a bsnes/out/bsnes bsnes-nightly/bsnes
  13. - cp -a bsnes/Database/* bsnes-nightly/Database
  14. - cp -a shaders bsnes-nightly/Shaders
  15. - cp -a GPLv3.txt bsnes-nightly
  16. - cp -a extras/* bsnes-nightly
  17. - zip -r bsnes-nightly.zip bsnes-nightly
  18. bsnes-nightly_artifacts:
  19. path: "bsnes-nightly.zip"
  20. freebsd-x86_64-binaries_task:
  21. freebsd_instance:
  22. image_family: freebsd-12-2
  23. setup_script:
  24. - pkg install --yes gmake gdb gcc8 pkgconf sdl2 openal-soft gtk2 libXv zip
  25. compile_script:
  26. - gmake -C bsnes local=false
  27. package_script:
  28. - mkdir bsnes-nightly
  29. - mkdir bsnes-nightly/Database
  30. - mkdir bsnes-nightly/Firmware
  31. - cp -a bsnes/out/bsnes bsnes-nightly/bsnes
  32. - cp -a bsnes/Database/* bsnes-nightly/Database
  33. - cp -a shaders bsnes-nightly/Shaders
  34. - cp -a GPLv3.txt bsnes-nightly
  35. - cp -a extras/* bsnes-nightly
  36. - zip -r bsnes-nightly.zip bsnes-nightly
  37. bsnes-nightly_artifacts:
  38. path: "bsnes-nightly.zip"
  39. windows-x86_64-binaries_task:
  40. container:
  41. image: ubuntu:latest
  42. setup_script:
  43. - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential mingw-w64 zip
  44. compile_script:
  45. - make -C bsnes local=false platform=windows compiler="x86_64-w64-mingw32-g++" windres="x86_64-w64-mingw32-windres"
  46. package_script:
  47. - mkdir bsnes-nightly
  48. - mkdir bsnes-nightly/Database
  49. - mkdir bsnes-nightly/Firmware
  50. - cp -a bsnes/out/bsnes.exe bsnes-nightly/bsnes.exe
  51. - cp -a bsnes/Database/* bsnes-nightly/Database
  52. - cp -a shaders bsnes-nightly/Shaders
  53. - cp -a GPLv3.txt bsnes-nightly
  54. - cp -a extras/* bsnes-nightly
  55. - zip -r bsnes-nightly.zip bsnes-nightly
  56. bsnes-nightly_artifacts:
  57. path: "bsnes-nightly.zip"
  58. macOS-x86_64-binaries_task:
  59. osx_instance:
  60. image: mojave-base
  61. compile_script:
  62. - make -C bsnes local=false
  63. package_script:
  64. - mkdir bsnes-nightly
  65. - cp -a bsnes/out/bsnes.app bsnes-nightly
  66. - cp -a GPLv3.txt bsnes-nightly
  67. - cp -a extras/* bsnes-nightly
  68. - zip -r bsnes-nightly.zip bsnes-nightly
  69. bsnes-nightly_artifacts:
  70. path: "bsnes-nightly.zip"