mirror of
https://github.com/mre/mos6502.git
synced 2024-06-01 14:41:38 +00:00
38 lines
762 B
YAML
38 lines
762 B
YAML
language: rust
|
|
|
|
cache: cargo
|
|
rust:
|
|
# - stable
|
|
# - beta
|
|
- nightly
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- qemu
|
|
- qemu-system-arm
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- rust: nightly
|
|
fast_finish: true
|
|
|
|
env:
|
|
# - TARGET=aarch64-unknown-linux-gnu
|
|
# - TARGET=arm-unknown-linux-gnueabi
|
|
# - TARGET=armv7-unknown-linux-gnueabihf
|
|
- TARGET=thumbv7em-none-eabihf
|
|
|
|
install:
|
|
- rustup component add rust-src
|
|
- rustup target add $TARGET
|
|
- cargo install xargo || true
|
|
|
|
before_script:
|
|
# https://stackoverflow.com/a/48041654/270334
|
|
- export RUST_TARGET_PATH=`pwd`
|
|
|
|
script:
|
|
# - xargo build --verbose --target $TARGET --no-default-features
|
|
- TERM=dumb xargo test --target thumbv7m-linux-eabi --no-run
|
|
- qemu-arm target/thumbv7m-linux-eabi/debug/mos6502 |