name: Build on: [ push, pull_request ] jobs: build-mirai: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - windows-latest - macos-11 - ubuntu-latest steps: - uses: actions/checkout@v2 - name: Checkout submodules run: git submodule update --init --recursive - name: Setup JDK 11 uses: actions/setup-java@v2 with: distribution: 'adopt' java-version: '11' - name: chmod -R 777 * run: chmod -R 777 * - name: Init gradle project run: ./gradlew clean --scan - name: Build all run: ./gradlew assemble --scan - name: All Tests run: > ./gradlew check --scan -Dmirai.network.show.all.components=true -Dkotlinx.coroutines.debug=on -Dmirai.network.show.packet.details=true - name: Ensure KDoc valid run: ./gradlew dokkaHtmlMultiModule