43 lines
899 B
YAML
43 lines
899 B
YAML
name: Moorly CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
windows-build:
|
|
runs-on: windows-x64
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build Moorly
|
|
shell: powershell
|
|
run: cargo build --release
|
|
- name: Upload Windows build
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: moorly-windows
|
|
path: target/release/moorly.exe
|
|
if-no-files-found: error
|
|
retention-days: 14
|
|
|
|
linux-build:
|
|
runs-on: linux-x64
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build Moorly
|
|
run: cargo build --release
|
|
- name: Upload Linux build
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: moorly-linux
|
|
path: target/release/moorly
|
|
if-no-files-found: error
|
|
retention-days: 14
|