Skip to content

Commit 3c767cc

Browse files
committed
workflows: move riscv to its own section
The riscv compilers shouldn't be in a section called "build-arm". Signed-off-by: Sean Cross <[email protected]>
1 parent 56ef51d commit 3c767cc

File tree

1 file changed

+44
-2
lines changed

1 file changed

+44
-2
lines changed

.github/workflows/build.yml

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ jobs:
167167
- "feather_nrf52840_express"
168168
- "feather_radiofruit_zigbee"
169169
- "feather_stm32f405_express"
170-
- "fomu"
171170
- "gemma_m0"
172171
- "grandcentral_m4_express"
173172
- "hallowing_m0_express"
@@ -255,12 +254,55 @@ jobs:
255254
pip install requests sh click setuptools awscli
256255
wget https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
257256
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
257+
- name: Versions
258+
run: |
259+
gcc --version
260+
arm-none-eabi-gcc --version
261+
python3 --version
262+
- uses: actions/checkout@v1
263+
with:
264+
submodules: true
265+
- name: mpy-cross
266+
run: make -C mpy-cross -j2
267+
- name: build
268+
run: python3 -u build_release_files.py
269+
working-directory: tools
270+
env:
271+
BOARDS: ${{ matrix.board }}
272+
- uses: actions/[email protected]
273+
with:
274+
name: ${{ matrix.board }}
275+
path: bin/${{ matrix.board }}
276+
- name: Upload to S3
277+
run: "[ -z \"$AWS_ACCESS_KEY_ID\" ] || aws s3 cp bin/ s3://adafruit-circuit-python/bin/ --recursive --no-progress --region us-east-1"
278+
env:
279+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
280+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
281+
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
282+
283+
build-riscv:
284+
runs-on: ubuntu-16.04
285+
needs: test
286+
strategy:
287+
fail-fast: false
288+
matrix:
289+
board:
290+
- "fomu"
291+
292+
steps:
293+
- name: Set up Python 3.5
294+
uses: actions/setup-python@v1
295+
with:
296+
python-version: 3.5
297+
- name: Install deps
298+
run: |
299+
sudo apt-get install -y gettext
300+
pip install requests sh click setuptools awscli
258301
wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
259302
sudo tar -C /usr --strip-components=1 -xaf riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
260303
- name: Versions
261304
run: |
262305
gcc --version
263-
arm-none-eabi-gcc --version
264306
riscv64-unknown-elf-gcc --version
265307
python3 --version
266308
- uses: actions/checkout@v1

0 commit comments

Comments
 (0)