Add build workflow for windows.

Also, add some badges :P


Former-commit-id: 697095b9f1d5055205f4a4c5e1c880c4c6581faa
Former-commit-id: 6a32c4caea7e7460058ecf46ac12ddedba70b1ff
This commit is contained in:
MishMish 2020-04-30 19:53:15 +03:00 committed by Michel Heily
parent fc988ba5b5
commit b905e5b791
2 changed files with 38 additions and 2 deletions

36
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,36 @@
name: Build
on:
push:
branches:
- master
jobs:
build-windows-64:
runs-on: windows-2019
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Build
run: cargo build --release --manifest-path .\platform\rustboyadvance-sdl2\Cargo.toml
- name: Collect artifacts
run: |
mkdir artifacts
mkdir artifacts\assets
copy README.md artifacts
copy LICENSE artifacts
copy .\assets\icon_cropped_small.png artifacts\assets
copy .\target\release\rustboyadvance-sdl2.exe artifacts
copy .\platform\rustboyadvance-sdl2\msvc\64\*.dll artifacts
copy .\platform\rustboyadvance-sdl2\msvc\64\LICENSE.* artifacts
- name : Uplaod artifacts
uses: actions/upload-artifact@v2
with:
name: rustboyadvance-sdl2-X64_86
path: artifacts

View file

@ -1,6 +1,6 @@
# RustBoyAdvance-NG # RustBoyAdvance-NG
![license](https://img.shields.io/github/license/michelhe/rustboyadvance-ng) [![Build Status](https://travis-ci.com/michelhe/rustboyadvance-ng.svg?branch=master)](https://travis-ci.com/michelhe/rustboyadvance-ng) ![license](https://img.shields.io/github/license/michelhe/rustboyadvance-ng) ![Build](https://github.com/michelhe/rustboyadvance-ng/workflows/Build/badge.svg?branch=master)
Nintendo GameBoy Advance ™ emulator and debugger, written in rust. Nintendo GameBoy Advance ™ emulator and debugger, written in rust.
@ -9,7 +9,7 @@ Nintendo GameBoy Advance ™ emulator and debugger, written in rust.
<img width="360px" src="assets/icon_cropped_small.png"> <img width="360px" src="assets/icon_cropped_small.png">
</div> </div>
WebAssembly Demo: https://michelhe.github.io/rustboyadvance-ng/ WebAssembly Demo: https://michelhe.github.io/rustboyadvance-ng/ ![Deploy](https://github.com/michelhe/rustboyadvance-ng/workflows/Deploy/badge.svg?branch=master)
# Project Structure # Project Structure
* `rustboyadvance-core/src` - Main library crate * `rustboyadvance-core/src` - Main library crate