.cirrus.yml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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 curl libgtk2.0-dev libpulse-dev mesa-common-dev libgtksourceview2.0-dev libcairo2-dev libsdl2-dev libxv-dev libao-dev libopenal-dev libudev-dev zip
  6. matrix:
  7. - build_higan_script:
  8. - make -C higan-ui build=performance local=false
  9. - make -C icarus
  10. package_higan_script:
  11. - mkdir higan-nightly
  12. - cp -a higan-ui/out/higan higan-nightly/higan
  13. - cp -a higan/System higan-nightly
  14. - cp -a icarus/out/icarus higan-nightly/icarus
  15. - cp -a icarus/Database higan-nightly
  16. - cp -a icarus/Firmware higan-nightly
  17. - cp -a GPLv3.txt higan-nightly
  18. - cp -a extras/* higan-nightly
  19. - zip -r higan-nightly.zip higan-nightly
  20. matrix:
  21. - only_if: $CIRRUS_RELEASE != ""
  22. environment:
  23. OS: linux-x86_64
  24. GITHUB_TOKEN: ENCRYPTED[7a134a5ab55ae4be1e91c44040969d89e5f4017e2d71f4f03fbde21e136085b6f366c33e0bbcc2d2c6d23914a149aa66]
  25. upload_script: ./.cirrus.upload.sh
  26. - only_if: $CIRRUS_RELEASE == ""
  27. higan-nightly_artifacts:
  28. path: "higan-nightly.zip"
  29. freebsd-x86_64-binaries_task:
  30. freebsd_instance:
  31. image_family: freebsd-12-2
  32. setup_script:
  33. - pkg install --yes curl gmake gdb gcc8 pkgconf sdl2 openal-soft gtksourceview2 libXv zip
  34. matrix:
  35. - build_higan_script:
  36. - gmake -C higan-ui build=performance local=false
  37. - gmake -C icarus
  38. package_higan_script:
  39. - mkdir higan-nightly
  40. - cp -a higan-ui/out/higan higan-nightly/higan
  41. - cp -a higan/System higan-nightly
  42. - cp -a icarus/out/icarus higan-nightly/icarus
  43. - cp -a icarus/Database higan-nightly
  44. - cp -a icarus/Firmware higan-nightly
  45. - cp -a GPLv3.txt higan-nightly
  46. - cp -a extras/* higan-nightly
  47. - zip -r higan-nightly.zip higan-nightly
  48. matrix:
  49. - only_if: $CIRRUS_RELEASE != ""
  50. environment:
  51. OS: freebsd-x86_64
  52. GITHUB_TOKEN: ENCRYPTED[7a134a5ab55ae4be1e91c44040969d89e5f4017e2d71f4f03fbde21e136085b6f366c33e0bbcc2d2c6d23914a149aa66]
  53. upload_script: ./.cirrus.upload.sh
  54. - only_if: $CIRRUS_RELEASE == ""
  55. higan-nightly_artifacts:
  56. path: "higan-nightly.zip"
  57. windows-x86_64-binaries_task:
  58. container:
  59. image: ubuntu:latest
  60. setup_script:
  61. - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential curl mingw-w64 zip
  62. matrix:
  63. - build_higan_script:
  64. - make -C higan-ui build=performance local=false platform=windows compiler="x86_64-w64-mingw32-g++" windres="x86_64-w64-mingw32-windres"
  65. - make -C icarus platform=windows compiler="x86_64-w64-mingw32-g++" windres="x86_64-w64-mingw32-windres"
  66. package_higan_script:
  67. - mkdir higan-nightly
  68. - cp -a higan-ui/out/higan.exe higan-nightly/higan.exe
  69. - cp -a icarus/out/icarus.exe higan-nightly/icarus.exe
  70. - cp -a higan/System higan-nightly/Templates
  71. - mkdir higan-nightly/Systems
  72. - cp -a icarus/Database higan-nightly
  73. - cp -a icarus/Firmware higan-nightly
  74. - cp -a GPLv3.txt higan-nightly
  75. - cp -a extras/* higan-nightly
  76. - zip -r higan-nightly.zip higan-nightly
  77. matrix:
  78. - only_if: $CIRRUS_RELEASE != ""
  79. environment:
  80. OS: windows-x86_64
  81. GITHUB_TOKEN: ENCRYPTED[7a134a5ab55ae4be1e91c44040969d89e5f4017e2d71f4f03fbde21e136085b6f366c33e0bbcc2d2c6d23914a149aa66]
  82. upload_script: ./.cirrus.upload.sh
  83. - only_if: $CIRRUS_RELEASE == ""
  84. higan-nightly_artifacts:
  85. path: "higan-nightly.zip"
  86. macOS-x86_64-binaries_task:
  87. osx_instance:
  88. image: mojave-base
  89. matrix:
  90. - build_higan_script:
  91. - make -C higan-ui build=performance local=false
  92. - make -C icarus
  93. package_higan_script:
  94. - mkdir higan-nightly
  95. - cp -a higan-ui/out/higan.app higan-nightly
  96. - cp -a higan/System higan-nightly
  97. - cp -a icarus/out/icarus.app higan-nightly
  98. - cp -a icarus/Database higan-nightly
  99. - cp -a icarus/Firmware higan-nightly
  100. - cp -a GPLv3.txt higan-nightly
  101. - cp -a extras/* higan-nightly
  102. - zip -r higan-nightly.zip higan-nightly
  103. matrix:
  104. - only_if: $CIRRUS_RELEASE != ""
  105. environment:
  106. OS: macOS-x86_64
  107. GITHUB_TOKEN: ENCRYPTED[7a134a5ab55ae4be1e91c44040969d89e5f4017e2d71f4f03fbde21e136085b6f366c33e0bbcc2d2c6d23914a149aa66]
  108. upload_script: ./.cirrus.upload.sh
  109. - only_if: $CIRRUS_RELEASE == ""
  110. higan-nightly_artifacts:
  111. path: "higan-nightly.zip"