diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index eab5322fa8d..00000000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,135 +0,0 @@ -name: build - -on: - push: - paths-ignore: - - 'doc/**' - - 'documentation/**' - - '*.md' - - '*.yml' - branches: - - release/* - -permissions: - contents: read - -jobs: - linux: - if: github.repository == 'kotest/kotest' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - target: - - jvmTest - - jsTest - - linuxX64Test - - :kotest-framework:kotest-framework-multiplatform-plugin-gradle:test - steps: - - name: Checkout the repo - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Setup JDK - uses: actions/setup-java@v3 - with: - distribution: 'adopt' - java-version: '8' - - - uses: gradle/gradle-build-action@v2 - - - name: Run tests - run: ./gradlew ${{ matrix.target }} --scan - - - name: Bundle the build report - if: failure() - run: find . -type d -name 'reports' | zip -@ -r build-reports.zip - - - name: Upload the build report - if: failure() - uses: actions/upload-artifact@v3 - with: - name: error-report - path: build-reports.zip - - macos: - if: github.repository == 'kotest/kotest' - runs-on: macos-latest - strategy: - matrix: - target: - - macosX64Test - - macosArm64Test - - iosX64Test - - iosSimulatorArm64Test - - iosArm64TestKlibrary - - iosArm32TestKlibrary - - tvosX64Test - - tvosArm64TestKlibrary - - watchosArm32TestKlibrary - - watchosArm64TestKlibrary - - watchosX86Test - - watchosX64Test - steps: - - name: Checkout the repo - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Setup JDK - uses: actions/setup-java@v3 - with: - distribution: 'adopt' - java-version: '8' - - - uses: gradle/gradle-build-action@v2 - - - name: Run tests - run: ./gradlew ${{ matrix.target }} --scan - - - name: Bundle the build report - if: failure() - run: find . -type d -name 'reports' | zip -@ -r build-reports.zip - - - name: Upload the build report - if: failure() - uses: actions/upload-artifact@v3 - with: - name: error-report - path: build-reports.zip - - windows: - if: github.repository == 'kotest/kotest' - runs-on: windows-latest - steps: - - name: Checkout the repo - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Setup JDK - uses: actions/setup-java@v3 - with: - distribution: 'adopt' - java-version: '8' - - - uses: gradle/gradle-build-action@v2 - - - name: Run tests - run: ./gradlew mingwX64Test --scan - - - name: Bundle the build report - if: failure() - run: find . -type d -name 'reports' | zip -@ -r build-reports.zip - - - name: Upload the build report - if: failure() - uses: actions/upload-artifact@v3 - with: - name: error-report - path: build-reports.zip - - -env: - GRADLE_OPTS: -Dorg.gradle.configureondemand=false -Dorg.gradle.parallel=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxMetaspaceSize=756m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"