This is a Gameboy Cart Reader for the Atmel Atmega 32 Microcontroller. Possibilities: -Readouts of: -RAM -ROM -RTC -Writing to RAM https://phenomic.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Jenkinsfile 2.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. def firmwareBuildBadge = addEmbeddableBadgeConfiguration(id: "firmwarebuild", subject: "Firmware Build")
  2. def winBuildBadge = addEmbeddableBadgeConfiguration(id: "winbuild", subject: "Windows x64 Build")
  3. pipeline {
  4. agent none
  5. environment {
  6. HOME="."
  7. }
  8. stages {
  9. stage('Build AVR ATMega32 Firmware') {
  10. agent {
  11. docker {
  12. image 'dea82/avr-gcc-docker:latest'
  13. }
  14. }
  15. steps {
  16. script {
  17. firmwareBuildBadge.setStatus('running')
  18. try {
  19. dir("Game-Boy-Cartreader-Firmware") {
  20. sh "make"
  21. archiveArtifacts 'game-boy-cartreader-firmware.hex, game-boy-cartreader-firmware_eeprom.hex, game-boy-cartreader-firmware.elf'
  22. firmwareBuildBadge.setStatus('passing')
  23. }
  24. } catch (Exception err) {
  25. firmwareBuildBadge.setStatus('failing')
  26. echo err.toString()
  27. error 'Firmware Build failed'
  28. }
  29. }
  30. }
  31. }
  32. stage('Build Serial Client Windows x64') {
  33. agent {
  34. docker {
  35. image 'golang:latest'
  36. }
  37. }
  38. environment {
  39. GOOS="windows"
  40. GOARCH="amd64"
  41. GODIR = "$WORKSPACE/src/git.phenomic.net/phenom/gameboy-color-cart-reader/game-boy-cartreader-client"
  42. GOPATH = "$WORKSPACE"
  43. GOCACHE = "$WORKSPACE/.cache"
  44. }
  45. steps {
  46. script {
  47. winBuildBadge.setStatus('running')
  48. try {
  49. echo "mkdir -p $GODIR"
  50. sh "mkdir -p $GODIR"
  51. dir("Game-Boy-Cartreader-Client") {
  52. echo "ls -a | grep -vw -e '.' -e 'src' -e '.cache' | xargs mv -t $GODIR"
  53. sh "ls -a | grep -vw -e '.' -e 'src' -e '.cache' | xargs mv -t $GODIR"
  54. }
  55. dir("$GODIR") {
  56. sh "go get ./..."
  57. sh "go build -o gbCartreader.exe"
  58. archiveArtifacts("gbCartreader.exe")
  59. }
  60. winBuildBadge.setStatus('passing')
  61. } catch (Exception err) {
  62. winBuildBadge.setStatus('failing')
  63. error err.toString()
  64. error 'Windows x64 Build failed'
  65. }
  66. }
  67. }
  68. }
  69. }
  70. }