Skip to content
Draft
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
56 changes: 56 additions & 0 deletions .github/workflows/launcher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Build Launcher

on:
push:
paths:
- Launcher/**
- .github/workflows/launcher.yml
pull_request:
paths:
- Launcher/*
- .github/workflows/launcher.yml
workflow_call:

jobs:
build_launcher:
name: Build Launcher
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./Launcher
strategy:
fail-fast: false
matrix:
toolchain:
- stable
- nightly
os:
- windows-latest
- ubuntu-latest
- macos-latest
- windows-11-arm
- ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Rust
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
id: rust
with:
toolchain: ${{ matrix.toolchain }}
- name: Cache dependencies
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
with:
key: ${{ steps.rust.outputs.cachekey }}
workspaces: "./Launcher -> target"
- name: Build
run: cargo +${{ steps.rust.outputs.name }} build --verbose
- name: Upload artifact
uses: actions/[email protected]
with:
name: ${{ matrix.os }}-${{ matrix.toolchain }}
path: |
${{ github.workspace }}/Launcher/target/debug/rhythm_doctor_editor_launcher
${{ github.workspace }}/Launcher/target/debug/rhythm_doctor_editor_launcher.exe
${{ github.workspace }}/Launcher/target/debug/rhythm_doctor_editor_launcher.pdb
if-no-files-found: error
12 changes: 12 additions & 0 deletions Launcher/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
17 changes: 17 additions & 0 deletions Launcher/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Cargo
# will have compiled files and executables
debug/
target/

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# RustRover
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
Loading
Loading