mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 05:06:29 +00:00
66 lines
1.3 KiB
YAML
66 lines
1.3 KiB
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags: ["*"]
|
|
|
|
jobs:
|
|
windows:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Build release binary
|
|
run: cargo build --verbose --locked --release
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: rojo-win64
|
|
path: target/release/rojo.exe
|
|
|
|
macos:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Install Rust
|
|
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
|
|
- name: Build release binary
|
|
run: |
|
|
source $HOME/.cargo/env
|
|
cargo build --verbose --locked --release
|
|
env:
|
|
OPENSSL_STATIC: 1
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: rojo-macos
|
|
path: target/release/rojo
|
|
|
|
linux:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Build
|
|
run: cargo build --locked --verbose --release
|
|
env:
|
|
OPENSSL_STATIC: 1
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: rojo-linux
|
|
path: target/release/rojo |