Skip to content

Commit

Permalink
[actions] reduce macos build tasks
Browse files Browse the repository at this point in the history
To reduce time-consuming build tasks and skip failing jzz tests.
  • Loading branch information
atsushieno committed Apr 12, 2024
1 parent fb3b555 commit c789f4f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,18 @@ jobs:
# Workaround rtmidi-javacpp reference resolution failure issue
- name: build and publishToMavenLocal rtmidi-javacpp (just for local platform is fine)
run: cd external/rtmidi-javacpp && ./gradlew build publishToMavenLocal; cd ../..
# only for NON-releases
- name: build with Gradle ()
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
# only for NON-releases on Linux
- name: linux build with Gradle ()
if: ${{ !startsWith(github.ref, 'refs/tags/') && !contains(matrix.os, 'macos') }}
run: ./gradlew --warning-mode all build
# only for NON-releases on macos-13
- name: macos-13 lightweight build with Gradle () for libs
if: ${{ !startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-13') }}
run: ./gradlew --warning-mode all publishToMavenLocal
# only for NON-releases on macos-14
- name: macos-14 lightweight build with Gradle () for libs and apps
if: ${{ !startsWith(github.ref, 'refs/tags/') && contains(matrix.os, 'macos-14') }}
run: ./gradlew --warning-mode all publishToMavenLocal iosArm64Binaries packageDmg
# only for releases
- name: publish with Gradle
if: ${{ startsWith(github.ref, 'refs/tags/') }}
Expand Down Expand Up @@ -109,6 +117,8 @@ jobs:
ktmidi-ci/build/outputs/aar/*.aar
ktmidi-native-ext/build/bin
ktmidi-jvm-desktop/build/libs/*.jar
ktmidi-ci-tool/build/bin/iosArm64
ktmidi-ci-tool/build/compose/binaries/main/dmg
# only for releases
- name: deploy to GitHub Pages
if: ${{ startsWith(github.ref, 'refs/tags/') && startsWith(matrix.os, 'ubuntu') }}
Expand Down

0 comments on commit c789f4f

Please sign in to comment.