Game Boy assembler.
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.
 
 
 
 
 
 

37 lines
1.1 KiB

  1. pipeline {
  2. agent { dockerfile true }
  3. stages {
  4. stage('Git checkout') {
  5. steps{
  6. checkout scm
  7. }
  8. }
  9. stage('Build GCC') {
  10. steps {
  11. sh 'rm -r build.gcc'
  12. sh 'mkdir build.gcc && cd build.gcc && cmake ..'
  13. sh 'cd build.gcc && make -j4 gbas'
  14. }
  15. }
  16. stage('Test GCC') {
  17. steps {
  18. sh 'cd build.gcc && make -j4 gbas_test'
  19. sh 'cd build.gcc && ./gbas_test --log_format=JUNIT --log_level=all > test_log_gcc.xml'
  20. }
  21. }
  22. stage('Build Clang') {
  23. steps {
  24. sh 'rm -r build.clang'
  25. sh 'mkdir build.clang && cd build.clang && CXX=clang++ CC=clang cmake ..'
  26. sh 'cd build.clang && make -j4 gbas'
  27. }
  28. }
  29. stage('Test Clang') {
  30. steps {
  31. sh 'cd build.clang && make -j4 gbas_test'
  32. sh 'cd build.clang && ./gbas_test --log_format=JUNIT --log_level=all > test_log_gcc.xml'
  33. }
  34. }
  35. }
  36. }