Skip to content

Commit 270d5a1

Browse files
authored
Merge pull request #2895 from lilyinstarlight/ci-fixes
CI - misc fixes
2 parents 710107f + 54ee0e1 commit 270d5a1

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ name: Build
33
on:
44
# Do it on every push or PR on these branches
55
push:
6-
branches: [ dev, main, workflow_dispatch, features/sp-api ]
6+
branches: [ dev, stable ]
77
pull_request:
8-
branches: [ dev, main, workflow_dispatch, features/sp-api ]
8+
branches: [ dev, stable ]
9+
# Do build on demand
10+
workflow_dispatch:
911

1012
jobs:
1113
# Build Sonic Pi
@@ -215,7 +217,7 @@ jobs:
215217
- name: API Tests - Linux
216218
working-directory: ${{github.workspace}}/app/build/api-tests
217219
run: |
218-
jackd -d dummy &
220+
jackd -rd dummy &
219221
ctest --verbose
220222
if: matrix.os == 'ubuntu-latest'
221223

@@ -242,7 +244,8 @@ jobs:
242244

243245
- name: Archive Logs
244246
uses: actions/upload-artifact@v2
247+
if: ${{ always() }}
245248
with:
246-
name: Logs_${{matrix.title}}_${{matrix.build_type}}
249+
name: Logs_${{matrix.title}}_${{matrix.cc}}_${{matrix.arch}}_${{matrix.build_type}}
247250
path: |
248251
~/.sonic-pi/log/*.log

0 commit comments

Comments
 (0)