Skip to content

Commit 486fa74

Browse files
authored
Actions: Remove native from build_one (#8685)
* Remove native from the build, and remove the required permissions * Delete .github/workflows/build_one_arch.yml Its borken and not really needed. one_target is the goal.
1 parent faa6af7 commit 486fa74

File tree

2 files changed

+1
-198
lines changed

2 files changed

+1
-198
lines changed

.github/workflows/build_one_arch.yml

Lines changed: 0 additions & 176 deletions
This file was deleted.

.github/workflows/build_one_target.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ on:
1515
- rp2040
1616
- rp2350
1717
- stm32
18-
- native
1918
target:
2019
type: string
2120
required: false
@@ -42,7 +41,6 @@ jobs:
4241
- rp2040
4342
- rp2350
4443
- stm32
45-
4644
runs-on: ubuntu-24.04
4745
steps:
4846
- uses: actions/checkout@v6
@@ -60,7 +58,7 @@ jobs:
6058
echo "Arch: ${{matrix.arch}}" >> $GITHUB_STEP_SUMMARY
6159
echo "Ref: $GITHUB_REF" >> $GITHUB_STEP_SUMMARY
6260
echo "Targets:" >> $GITHUB_STEP_SUMMARY
63-
echo $TARGETS >> $GITHUB_STEP_SUMMARY
61+
echo $TARGETS | jq -r 'sort_by(.board) |.[] | "- " + .board' >> $GITHUB_STEP_SUMMARY
6462
6563
version:
6664
if: ${{ inputs.target != '' }}
@@ -87,25 +85,6 @@ jobs:
8785
pio_env: ${{ inputs.target }}
8886
platform: ${{ inputs.arch }}
8987

90-
build-debian-src:
91-
if: ${{ github.repository == 'meshtastic/firmware' && inputs.arch == 'native' }}
92-
uses: ./.github/workflows/build_debian_src.yml
93-
with:
94-
series: UNRELEASED
95-
build_location: local
96-
secrets: inherit
97-
98-
package-pio-deps-native-tft:
99-
if: ${{ inputs.arch == 'native' }}
100-
uses: ./.github/workflows/package_pio_deps.yml
101-
with:
102-
pio_env: native-tft
103-
secrets: inherit
104-
105-
test-native:
106-
if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'workflow_dispatch' || !contains(github.ref_name, 'event/') && inputs.arch == 'native' && inputs.target != '' }}
107-
uses: ./.github/workflows/test_native.yml
108-
10988
gather-artifacts:
11089
permissions:
11190
contents: write

0 commit comments

Comments
 (0)