From 0578a3e6634658bf2cf8493175cccde8a145f71d Mon Sep 17 00:00:00 2001 From: Naoaki Iwakiri Date: Tue, 22 Oct 2019 09:17:15 +0900 Subject: [PATCH] Add github actions --- .github/workflows/continuous_testing.yaml | 21 +++++++++++++++++++++ README.md | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/continuous_testing.yaml diff --git a/.github/workflows/continuous_testing.yaml b/.github/workflows/continuous_testing.yaml new file mode 100644 index 0000000..0732838 --- /dev/null +++ b/.github/workflows/continuous_testing.yaml @@ -0,0 +1,21 @@ +name: test +on: push + +jobs: + build_and_test: + name: test + strategy: + matrix: + os: [ubuntu-latest, macOS-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@master + - name: Install cargo + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Run test + uses: actions-rs/cargo@v1 + with: + command: test diff --git a/README.md b/README.md index 9caa234..41b17de 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # mos6502 -[![Build Status](https://travis-ci.org/mre/mos6502.svg?branch=master)](https://travis-ci.org/mre/mos6502) +[![Build Status](https://travis-ci.org/mre/mos6502.svg?branch=master)](https://travis-ci.org/mre/mos6502) +![](https://github.com/mre/mos6502/workflows/test/badge.svg) An emulator for the [MOS 6502 CPU](https://en.wikipedia.org/wiki/MOS_Technology_6502) written in Rust. This started off as a fork of [amw-zero/6502-rs](https://github.com/amw-zero/6502-rs),