Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
loki077 committed Nov 23, 2023
1 parent 8ce12a9 commit d53e518
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions .github/workflows/carbonix_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,29 +165,43 @@ jobs:
run: |
. .github/workflows/ccache.env
- name: build Carbonix Flight Controller
shell: bash
run: |
boards=("CubeOrange")
for board in "${boards[@]}"; do
echo "Compiling AP_Periph for $board..."
./Tools/scripts/build_bootloaders.py "$board"
./waf configure --board "$board"
./waf plane
done
echo "Script completed successfully."
# - name: build Carbonix Flight Controller
# shell: bash
# run: |
# boards=("CubeOrange")
# for board in "${boards[@]}"; do
# echo "Compiling AP_Periph for $board..."
# ./Tools/scripts/build_bootloaders.py "$board"
# ./waf configure --board "$board"
# ./waf plane
# done
# echo "Script completed successfully."
- name: build Carbonix Periph boards
shell: bash
run: |
boards=("CarbonixF405" "CarbonixL496")
boards=("CarbonixF405")
for board in "${boards[@]}"; do
echo "Compiling AP_Periph for $board..."
./Tools/scripts/build_bootloaders.py "$board"
./waf configure --board "$board"
./waf AP_Periph
done
echo "Script completed successfully."
- name: Check build files
id: check_files
uses: andstor/file-existence-action@v3
with:
files: "build/CarbonixF405/*"
fail: true
- name: Upload artifacts to Dropbox
uses: svenstaro/upload-release-action@v3
with:
repo_token: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
file: build/
tag: latest
overwrite: true
file_glob: true
destination: dropbox:/Download
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit d53e518

Please sign in to comment.