disable code loop opt on sam4s #312
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: Build Firmware | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the develop branch | |
push: | |
paths: | |
- 'hardware/victims/firmware/**' | |
- 'hardware/capture' | |
- '.github/workflows/build_firmware.yml' | |
pull_request: | |
paths: | |
- 'hardware/victims/firmware/**' | |
- 'hardware/capture' | |
- '.github/workflows/build_firmware.yml' | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
fwbuild: | |
# The type of runner that the job will run on | |
name: Build all firmware to make sure everything works | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Install compilers | |
run: >- | |
sudo apt install -y make build-essential gcc-avr avr-libc gcc-arm-none-eabi | |
- name: Build firmware | |
run: >- | |
cd tests && bash test_fw_build.sh | |
- name: Build capture firmware | |
run: | | |
cd hardware/capture/chipwhisperer-lite/sam3u_fw/SAM3U_VendorExample/src | |
git submodule update --init naeusb | |
make -j | |
cd - | |
cd hardware/capture/chipwhisperer-nano/firmware/cwnano-firmware/src | |
git submodule update --init naeusb | |
make -j | |