Build using GitHub Actions
This commit is contained in:
parent
90cd06cc99
commit
522696054c
29
.github/workflows/fox32asm-unstable-linux.yml
vendored
Normal file
29
.github/workflows/fox32asm-unstable-linux.yml
vendored
Normal 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
|
29
.github/workflows/fox32asm-unstable-windows.yml
vendored
Normal file
29
.github/workflows/fox32asm-unstable-windows.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user