partial Common Rules for Property Exchange implementation. #316
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build dist | |
on: | |
push: | |
pull_request: | |
jobs: | |
linux-build: | |
name: build on linux | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- name: apt update | |
run: | | |
sudo apt-get update | |
- name: set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: apt install | |
run: | | |
echo y | sudo apt-get install doxygen cmake ninja-build libasound2-dev libjack-jackd2-0 | |
- name: stupid NDK setup workaround for GitHub Actions | |
run: sudo mkdir -p /usr/local/lib/android/sdk/ndk && sudo chmod 777 /usr/local/lib/android/sdk/ndk | |
- name: build | |
run: | | |
./build-rtmidi.sh | |
./gradlew --warning-mode all build publishToMavenLocal | |
- name: upload build failure logs | |
if: failure() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: test-failure-logs | |
path: | | |
ktmidi/build/reports/ | |
ktmidi-jvm-desktop/build/reports/ | |
ktmidi/*.log | |
ktmidi-native-ext/*.log | |
ktmidi-jvm-desktop/*.log | |
- name: upload artifact | |
if: success() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ktmidi-artifacts | |
path: | | |
ktmidi/build/libs/*.jar | |
ktmidi/build/outputs/aar/*.aar | |
ktmidi-native-ext/build/bin | |
ktmidi-jvm-desktop/build/libs/*.jar |