Build using GitHub Actions

This commit is contained in:
Ry 2022-06-21 16:12:07 -07:00
parent 90cd06cc99
commit 522696054c
2 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,29 @@
on:
workflow_dispatch:
push:
branches:
- main
name: fox32asm Unstable - Linux
jobs:
fox32asm-unstable-linux:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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: fox32asm
path: target/release/fox32asm

View File

@ -0,0 +1,29 @@
on:
workflow_dispatch:
push:
branches:
- main
name: fox32asm Unstable - Windows
jobs:
fox32asm-unstable-windows:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- 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: fox32asm.exe
path: target/release/fox32asm.exe