Skip to content

Commit 884c920

Browse files
committed
Simplify CI: single ubuntu-latest build
1 parent 034e1fa commit 884c920

1 file changed

Lines changed: 5 additions & 34 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ on:
99
jobs:
1010
rust-plugin:
1111
name: Rust Plugin
12-
strategy:
13-
matrix:
14-
os: [ubuntu-latest, macos-latest, windows-latest]
15-
runs-on: ${{ matrix.os }}
12+
runs-on: ubuntu-latest
1613
defaults:
1714
run:
1815
working-directory: plugin
@@ -29,11 +26,10 @@ jobs:
2926
~/.cargo/registry
3027
~/.cargo/git
3128
plugin/target
32-
key: ${{ runner.os }}-cargo-${{ hashFiles('plugin/Cargo.lock') }}
33-
restore-keys: ${{ runner.os }}-cargo-
29+
key: cargo-${{ hashFiles('plugin/Cargo.lock') }}
30+
restore-keys: cargo-
3431

35-
- name: Install ALSA dev (Linux)
36-
if: runner.os == 'Linux'
32+
- name: Install ALSA dev
3733
run: sudo apt-get update && sudo apt-get install -y libasound2-dev
3834

3935
- name: Build VST3 plugin
@@ -42,23 +38,9 @@ jobs:
4238
- name: Build standalone
4339
run: cargo build --release --features standalone --bin compose-vst-standalone
4440

45-
- name: Upload plugin artifact
46-
uses: actions/upload-artifact@v4
47-
with:
48-
name: plugin-${{ matrix.os }}
49-
path: |
50-
plugin/target/release/libcompose_vst_plugin.so
51-
plugin/target/release/libcompose_vst_plugin.dylib
52-
plugin/target/release/compose_vst_plugin.dll
53-
plugin/target/release/compose-vst-standalone*
54-
if-no-files-found: ignore
55-
5641
compose-ui:
5742
name: Compose UI
58-
strategy:
59-
matrix:
60-
os: [ubuntu-latest, macos-latest, windows-latest]
61-
runs-on: ${{ matrix.os }}
43+
runs-on: ubuntu-latest
6244
defaults:
6345
run:
6446
working-directory: ui
@@ -79,14 +61,3 @@ jobs:
7961

8062
- name: Build
8163
run: ./gradlew build
82-
83-
- name: Package
84-
run: ./gradlew packageReleaseDistributionForCurrentOS
85-
continue-on-error: true
86-
87-
- name: Upload UI artifact
88-
uses: actions/upload-artifact@v4
89-
with:
90-
name: ui-${{ matrix.os }}
91-
path: ui/build/compose/binaries/main-release/
92-
if-no-files-found: ignore

0 commit comments

Comments
 (0)