Skip to content

Commit f65b230

Browse files
committed
try to compile all for each regulatory domain
1 parent bec8e44 commit f65b230

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,23 @@ jobs:
1414
pip install platformio
1515
- name: Run PlatformIO
1616
run: |
17+
mkdir -p ~/artifcats
1718
cd src
19+
export PLATFORMIO_BUILD_FLAGS=-DRegulatory_Domain_AU_433
1820
platformio run
21+
mv src/.pio/build ~/artifcats/AU_433
22+
export PLATFORMIO_BUILD_FLAGS=-DRegulatory_Domain_AU_915
23+
platformio run
24+
mv src/.pio/build ~/artifcats/AU_915
25+
export PLATFORMIO_BUILD_FLAGS=-DRegulatory_Domain_EU_868
26+
platformio run
27+
mv src/.pio/build ~/artifcats/EU_868
28+
export PLATFORMIO_BUILD_FLAGS=-DRegulatory_Domain_EU_433
29+
platformio run
30+
mv src/.pio/build ~/artifcats/EU_433
31+
1932
- name: Upload artifcats
2033
uses: actions/upload-artifact@v2-preview
2134
with:
22-
name: firmware
23-
path: src/.pio/build/**/*.bin
35+
name: firmware-$GITHUB_RUN_NUMBER
36+
path: ~/artifcats/**/*.bin

0 commit comments

Comments
 (0)