2023-04-06 13:13:59 +10:00
|
|
|
name: Build Emulator
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "main" ]
|
2023-04-06 13:20:40 +10:00
|
|
|
# paths: ["gb-emu/**", "lib/**", "vendored/**"]
|
2023-04-06 13:13:59 +10:00
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build
|
2023-04-06 13:20:40 +10:00
|
|
|
run: git submodule update --init --recursive && cargo build --verbose --release
|