37 lines
796 B
YAML
37 lines
796 B
YAML
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
name: fox32 Unstable - Windows
|
|
|
|
jobs:
|
|
fox32-unstable-windows:
|
|
name: Build
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Download latest fox32rom artifact
|
|
uses: dawidd6/action-download-artifact@v2
|
|
with:
|
|
repo: fox32-arch/fox32rom
|
|
workflow: fox32rom-unstable.yml
|
|
workflow_conclusion: success
|
|
|
|
- name: Install Rust toolchain
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
override: true
|
|
|
|
- name: Build
|
|
run: cargo build --release
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: fox32.exe
|
|
path: target/release/fox32.exe
|