2022-06-22 02:05:54 +02:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
name: fox32 Unstable - Windows
|
|
|
|
|
|
|
|
jobs:
|
2022-07-24 02:56:09 +02:00
|
|
|
fox32-unstable-windows:
|
2022-06-22 02:05:54 +02:00
|
|
|
name: Build
|
2022-07-24 02:56:09 +02:00
|
|
|
runs-on: windows-latest
|
2022-06-22 02:05:54 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
2022-08-01 01:59:18 +02:00
|
|
|
- name: Download latest fox32rom artifact
|
|
|
|
uses: dawidd6/action-download-artifact@v2
|
|
|
|
with:
|
|
|
|
repo: fox32-arch/fox32rom
|
|
|
|
workflow: fox32rom-unstable.yml
|
|
|
|
workflow_conclusion: success
|
|
|
|
|
2022-08-19 08:18:27 +02:00
|
|
|
- name: Move fox32.rom into the src folder
|
|
|
|
run: cp fox32.rom/fox32.rom src/fox32.rom
|
|
|
|
shell: powershell
|
|
|
|
|
2022-06-22 02:05:54 +02:00
|
|
|
- name: Install Rust toolchain
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: stable
|
|
|
|
override: true
|
|
|
|
|
|
|
|
- name: Build
|
2022-07-24 02:56:09 +02:00
|
|
|
run: cargo build --release
|
2022-06-22 02:05:54 +02:00
|
|
|
|
2022-07-24 02:56:09 +02:00
|
|
|
- name: Upload artifact
|
2022-06-22 02:05:54 +02:00
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: fox32.exe
|
|
|
|
path: target/release/fox32.exe
|