mirror of
				https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
				synced 2025-10-29 10:01:04 +00:00 
			
		
		
		
	* 4-in-1 air and surface builds * Disable serial and PPM-only builds for STM32 x-in-1 * More air and surface builds * Fix 5-in-1 tests * T18 air, surface, and LBT builds * Remove CFlie from DIY 5-in-1 AIR * Bump action versions * v4 artifact merging * Improve artifact merge * Fix merge * DIY 5-in-1 LBT * Tweak CI job name * Add T-Lite 5-in-1 LBT * CI job restructure
		
			
				
	
	
		
			72 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			72 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| source ./buildroot/bin/buildFunctions;
 | |
| exitcode=0;
 | |
| 
 | |
| # DIY 5-in-1 AIR builds
 | |
| printf "\e[33;1mBuilding mm-stm-5in1-aetr-air-v$MULTI_VERSION.bin\e[0m\n";
 | |
| opt_add MULTI_AIR;
 | |
| opt_disable ENABLE_PPM;
 | |
| opt_disable CFLIE_NRF24L01_INO
 | |
| opt_enable SX1276_INSTALLED;
 | |
| buildMulti;
 | |
| exitcode=$((exitcode+$?));
 | |
| mv build/Multiprotocol.ino.bin ./binaries/mm-stm-5in1-aetr-air-v$MULTI_VERSION.bin;
 | |
| 
 | |
| printf "\e[33;1mBuilding mm-stm-5in1-taer-air-v$MULTI_VERSION.bin\e[0m\n";
 | |
| opt_replace AETR TAER;
 | |
| buildMulti;
 | |
| exitcode=$((exitcode+$?));
 | |
| mv build/Multiprotocol.ino.bin ./binaries/mm-stm-5in1-taer-air-v$MULTI_VERSION.bin;
 | |
| 
 | |
| printf "\e[33;1mBuilding mm-stm-5in1-reta-air-v$MULTI_VERSION.bin\e[0m\n";
 | |
| opt_replace TAER RETA;
 | |
| buildMulti;
 | |
| exitcode=$((exitcode+$?));
 | |
| mv build/Multiprotocol.ino.bin ./binaries/mm-stm-5in1-reta-air-v$MULTI_VERSION.bin;
 | |
| 
 | |
| # DIY 5-in-1 SURFACE builds
 | |
| printf "\e[33;1mBuilding mm-stm-5in1-aetr-sfc-v$MULTI_VERSION.bin\e[0m\n";
 | |
| opt_add MULTI_SURFACE;
 | |
| opt_remove MULTI_AIR;
 | |
| opt_enable CFLIE_NRF24L01_INO
 | |
| opt_replace RETA AETR;
 | |
| buildMulti;
 | |
| exitcode=$((exitcode+$?));
 | |
| mv build/Multiprotocol.ino.bin ./binaries/mm-stm-5in1-aetr-sfc-v$MULTI_VERSION.bin;
 | |
| 
 | |
| printf "\e[33;1mBuilding mm-stm-5in1-taer-sfc-v$MULTI_VERSION.bin\e[0m\n";
 | |
| opt_replace AETR TAER;
 | |
| buildMulti;
 | |
| exitcode=$((exitcode+$?));
 | |
| mv build/Multiprotocol.ino.bin ./binaries/mm-stm-5in1-taer-sfc-v$MULTI_VERSION.bin;
 | |
| 
 | |
| printf "\e[33;1mBuilding mm-stm-5in1-reta-sfc-v$MULTI_VERSION.bin\e[0m\n";
 | |
| opt_replace TAER RETA;
 | |
| buildMulti;
 | |
| exitcode=$((exitcode+$?));
 | |
| mv build/Multiprotocol.ino.bin ./binaries/mm-stm-5in1-reta-sfc-v$MULTI_VERSION.bin;
 | |
| 
 | |
| # DIY 5-in-1 LBT builds
 | |
| printf "\e[33;1mBuilding mm-stm-5in1-aetr-lbt-v$MULTI_VERSION.bin\e[0m\n";
 | |
| opt_remove MULTI_SURFACE;
 | |
| opt_add MULTI_EU;
 | |
| opt_replace RETA AETR;
 | |
| buildMulti;
 | |
| exitcode=$((exitcode+$?));
 | |
| mv build/Multiprotocol.ino.bin ./binaries/mm-stm-5in1-aetr-lbt-v$MULTI_VERSION.bin;
 | |
| 
 | |
| printf "\e[33;1mBuilding mm-stm-5in1-taer-lbt-v$MULTI_VERSION.bin\e[0m\n";
 | |
| opt_replace AETR TAER;
 | |
| buildMulti;
 | |
| exitcode=$((exitcode+$?));
 | |
| mv build/Multiprotocol.ino.bin ./binaries/mm-stm-5in1-taer-lbt-v$MULTI_VERSION.bin;
 | |
| 
 | |
| printf "\e[33;1mBuilding mm-stm-5in1-reta-lbt-v$MULTI_VERSION.bin\e[0m\n";
 | |
| opt_replace TAER RETA;
 | |
| buildMulti;
 | |
| exitcode=$((exitcode+$?));
 | |
| mv build/Multiprotocol.ino.bin ./binaries/mm-stm-5in1-reta-lbt-v$MULTI_VERSION.bin;
 | |
| 
 | |
| exit $exitcode;
 |