diff options
Diffstat (limited to 'ci.sh')
-rwxr-xr-x | ci.sh | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/bin/bash + +set -euxo pipefail + +cargo build +cargo build --target thumbv6m-none-eabi +cargo build --target thumbv7em-none-eabi +cargo build --target riscv32imc-unknown-none-elf +cargo build --target riscv32imac-unknown-none-elf +cargo build --target i686-unknown-linux-gnu +cargo build --target x86_64-unknown-linux-gnu +cargo build --target riscv64gc-unknown-linux-gnu + +# without --release, it fails with "error: ran out of registers during register allocation" +cargo build --release -Zbuild-std=core --target avr-specs/avr-atmega328p.json |