Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Dependencies #84

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 40 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,52 @@ name: Build rbxlx-to-rojo
on:
push:
branches:
- master
- master
pull_request:
branches:
- master
- master
jobs:
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Build (All features)
run: |
cargo build --locked --release --all-features
- name: Upload selene
uses: actions/upload-artifact@v1
with:
name: rbxlx-to-rojo-windows
path: ./target/release/rbxlx-to-rojo.exe
- uses: actions/checkout@v1
- name: Build (All features)
run: |
cargo build --locked --release --all-features
- name: Upload selene
uses: actions/upload-artifact@v4
with:
name: rbxlx-to-rojo-windows
path: ./target/release/rbxlx-to-rojo.exe
build_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Build (All features)
run: |
source $HOME/.cargo/env
cargo build --locked --release --all-features
- name: Upload rbxlx-to-rojo
uses: actions/upload-artifact@v1
with:
name: rbxlx-to-rojo-macos
path: ./target/release/rbxlx-to-rojo
- uses: actions/checkout@v1
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Build (All features)
run: |
source $HOME/.cargo/env
cargo build --locked --release --all-features
- name: Upload rbxlx-to-rojo
uses: actions/upload-artifact@v4
with:
name: rbxlx-to-rojo-macos
path: ./target/release/rbxlx-to-rojo
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Install GTK
run: sudo apt install libgtk-3-dev -y
- name: Build (All features)
run: |
source $HOME/.cargo/env
cargo build --locked --release --all-features
- name: Upload rbxlx-to-rojo
uses: actions/upload-artifact@v4
with:
name: rbxlx-to-rojo-linux
path: ./target/release/rbxlx-to-rojo
68 changes: 68 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Release

on:
push:
tags:
- "v*"

jobs:
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Build (All features)
run: |
cargo build --locked --release --all-features
- name: Upload Windows artifact
uses: actions/upload-artifact@v4
with:
name: rbxlx-to-rojo-windows
path: ./target/release/rbxlx-to-rojo.exe

build_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Build (All features)
run: |
source $HOME/.cargo/env
cargo build --locked --release --all-features
- name: Upload Mac artifact
uses: actions/upload-artifact@v4
with:
name: rbxlx-to-rojo-macos
path: ./target/release/rbxlx-to-rojo

build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Install GTK
run: sudo apt install libgtk-3-dev -y
- name: Build (All features)
run: |
source $HOME/.cargo/env
cargo build --locked --release --all-features
- name: Upload Linux artifact
uses: actions/upload-artifact@v4
with:
name: rbxlx-to-rojo-linux
path: ./target/release/rbxlx-to-rojo
release:
needs: [build_mac, build_linux, build_windows]
runs-on: ubuntu-latest
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
- run: mkdir files
- run: zip -r files/rbxlx-to-rojo-linux.zip rbxlx-to-rojo-linux/*
- run: zip -r files/rbxlx-to-rojo-macos.zip rbxlx-to-rojo-macos/*
- run: zip -r files/rbxlx-to-rojo-windows.zip rbxlx-to-rojo-windows/*
- name: Release
uses: softprops/action-gh-release@v2
with:
files: files/*
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
target
**/*.rs.bk
**/*.rs.bk
test-files/**/*.luau
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"rust-analyzer.cargo.features": ["gui"]
}
Loading