Skip to content

Commit 951cf12

Browse files
Create launcher.yml
1 parent 22fbd49 commit 951cf12

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/launcher.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Build Launcher
2+
3+
on:
4+
push:
5+
paths:
6+
- Launcher
7+
- .github/workflows/launcher.yml
8+
pull_request:
9+
paths:
10+
- Launcher
11+
- .github/workflows/launcher.yml
12+
workflow_call:
13+
14+
env:
15+
CARGO_TERM_COLOR: always
16+
17+
jobs:
18+
build_launcher:
19+
name: Build Launcher
20+
runs-on: ${{ matrix.os }}
21+
defaults:
22+
run:
23+
working-directory: ./Launcher
24+
strategy:
25+
matrix:
26+
toolchain:
27+
- stable
28+
- nightly
29+
os:
30+
- windows-latest
31+
- ubuntu-latest
32+
- macos-latest
33+
- windows-11-arm
34+
- ubuntu-24.04-arm
35+
steps:
36+
- name: Checkout
37+
uses: actions/checkout@v4.2.2
38+
- name: Setup Rust
39+
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
40+
- name: Build
41+
run: cargo build --verbose
42+
- name: Upload artifact
43+
uses: actions/upload-artifact@v4.6.2
44+
with:
45+
name: ${{ matrix.os }}-${{ matrix.toolchain }}
46+
path: ^target/debug/rhythm_doctor_launcher(?:\.exe)?$
47+
if-no-files-found: error

0 commit comments

Comments
 (0)