Bumps the github-actions group with 5 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `3` | `4` | | [actions/setup-java](https://github.com/actions/setup-java) | `3` | `4` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `3` | `4` | | [actions/cache](https://github.com/actions/cache) | `3` | `4` | | [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) | `1` | `3` | Updates `actions/checkout` from 3 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) Updates `actions/setup-java` from 3 to 4 - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v3...v4) Updates `actions/upload-artifact` from 3 to 4 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) Updates `actions/cache` from 3 to 4 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) Updates `gradle/wrapper-validation-action` from 1 to 3 - [Release notes](https://github.com/gradle/wrapper-validation-action/releases) - [Commits](https://github.com/gradle/wrapper-validation-action/compare/v1...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: gradle/wrapper-validation-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]>master
apkname: espeak-release-unsigned.apk | apkname: espeak-release-unsigned.apk | ||||
name: Build ${{ matrix.config }} APK | name: Build ${{ matrix.config }} APK | ||||
steps: | steps: | ||||
- uses: actions/checkout@v3 | |||||
- uses: actions/checkout@v4 | |||||
- name: Set up JDK 17 | - name: Set up JDK 17 | ||||
uses: actions/setup-java@v3 | |||||
uses: actions/setup-java@v4 | |||||
with: | with: | ||||
distribution: 'temurin' | distribution: 'temurin' | ||||
java-version: 17 | java-version: 17 | ||||
- name: make | - name: make | ||||
run: cd android && ./gradlew ${{ matrix.target }} --no-daemon | run: cd android && ./gradlew ${{ matrix.target }} --no-daemon | ||||
- name: upload | - name: upload | ||||
uses: actions/upload-artifact@v3 | |||||
uses: actions/upload-artifact@v4 | |||||
with: | with: | ||||
name: android-${{ matrix.config }}.apk | name: android-${{ matrix.config }}.apk | ||||
path: android/build/outputs/apk/${{ matrix.config }}/${{ matrix.apkname }} | path: android/build/outputs/apk/${{ matrix.config }}/${{ matrix.apkname }} |
run: brew install gcc@12 | run: brew install gcc@12 | ||||
# Checkout code | # Checkout code | ||||
- uses: actions/checkout@v3 | |||||
- uses: actions/checkout@v4 | |||||
# Configure | # Configure | ||||
- name: configure | - name: configure | ||||
- name: config-failed-upload | - name: config-failed-upload | ||||
if: ${{ failure() }} | if: ${{ failure() }} | ||||
uses: actions/upload-artifact@v3 | |||||
uses: actions/upload-artifact@v4 | |||||
with: | with: | ||||
name: config-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.compiler }}.log | name: config-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.compiler }}.log | ||||
path: config.log | path: config.log |
run: brew install gcc@12 | run: brew install gcc@12 | ||||
# Checkout code | # Checkout code | ||||
- uses: actions/checkout@v3 | |||||
- uses: actions/checkout@v4 | |||||
# Configure | # Configure | ||||
- name: configure | - name: configure | ||||
- name: config-failed-upload | - name: config-failed-upload | ||||
if: ${{ failure() }} | if: ${{ failure() }} | ||||
uses: actions/upload-artifact@v3 | |||||
uses: actions/upload-artifact@v4 | |||||
with: | with: | ||||
name: cmake-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.compiler }}-${{ matrix.config }}-builddir | name: cmake-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.compiler }}-${{ matrix.config }}-builddir | ||||
path: build | path: build |
archconfigflags: '' | archconfigflags: '' | ||||
steps: | steps: | ||||
- uses: actions/checkout@v3 | |||||
- uses: actions/checkout@v4 | |||||
- name: enable 32bit architecture | - name: enable 32bit architecture | ||||
run: sudo dpkg --add-architecture i386 | run: sudo dpkg --add-architecture i386 | ||||
if: matrix.arch == 'x86-32' | if: matrix.arch == 'x86-32' | ||||
runs-on: ubuntu-latest | runs-on: ubuntu-latest | ||||
name: Run distcheck | name: Run distcheck | ||||
steps: | steps: | ||||
- uses: actions/checkout@v3 | |||||
- uses: actions/checkout@v4 | |||||
- name: dependencies | - name: dependencies | ||||
run: sudo apt-get update && sudo apt-get install ${{ env.deps }} | run: sudo apt-get update && sudo apt-get install ${{ env.deps }} | ||||
- name: configure | - name: configure |
archdeps: "" | archdeps: "" | ||||
archconfigflags: '' | archconfigflags: '' | ||||
steps: | steps: | ||||
- uses: actions/checkout@v3 | |||||
- uses: actions/checkout@v4 | |||||
- name: enable 32bit architecture | - name: enable 32bit architecture | ||||
run: sudo dpkg --add-architecture i386 | run: sudo dpkg --add-architecture i386 | ||||
if: matrix.arch == 'x86-32' | if: matrix.arch == 'x86-32' | ||||
./configure ${{ matrix.archconfig }} --with-libfuzzer | ./configure ${{ matrix.archconfig }} --with-libfuzzer | ||||
- name: Store the fuzzer config | - name: Store the fuzzer config | ||||
if: ${{ failure() }} | if: ${{ failure() }} | ||||
uses: actions/upload-artifact@v3 | |||||
uses: actions/upload-artifact@v4 | |||||
with: | with: | ||||
name: config-${{ matrix.arch }}-${{ matrix.lang }}.log | name: config-${{ matrix.arch }}-${{ matrix.lang }}.log | ||||
path: config.log | path: config.log | ||||
- name: make | - name: make | ||||
run: make -j | run: make -j | ||||
- uses: actions/cache@v3 | |||||
- uses: actions/cache@v4 | |||||
with: | with: | ||||
path: /home/runner/work/espeak-ng/espeak-ng | path: /home/runner/work/espeak-ng/espeak-ng | ||||
key: build-${{ matrix.arch }}-${{ github.sha }} | key: build-${{ matrix.arch }}-${{ github.sha }} | ||||
- arch: x86-64 | - arch: x86-64 | ||||
archdeps: "" | archdeps: "" | ||||
steps: | steps: | ||||
- uses: actions/cache@v3 | |||||
- uses: actions/cache@v4 | |||||
with: | with: | ||||
path: /home/runner/work/espeak-ng/espeak-ng | path: /home/runner/work/espeak-ng/espeak-ng | ||||
key: build-${{ matrix.arch }}-${{ github.sha }} | key: build-${{ matrix.arch }}-${{ github.sha }} | ||||
run: mkdir tests/fuzzing/CORPUS_DIR ; FUZZ_VOICE=${{ matrix.lang }} tests/fuzzing/synth_fuzzer.test -seed=1 -runs=10000 -max_len=4096 tests/fuzzing/CORPUS_DIR | run: mkdir tests/fuzzing/CORPUS_DIR ; FUZZ_VOICE=${{ matrix.lang }} tests/fuzzing/synth_fuzzer.test -seed=1 -runs=10000 -max_len=4096 tests/fuzzing/CORPUS_DIR | ||||
- name: Store the crash POC | - name: Store the crash POC | ||||
if: ${{ failure() }} | if: ${{ failure() }} | ||||
uses: actions/upload-artifact@v3 | |||||
uses: actions/upload-artifact@v4 | |||||
with: | with: | ||||
name: crash-${{ matrix.arch }}-${{ matrix.lang }}.1 | name: crash-${{ matrix.arch }}-${{ matrix.lang }}.1 | ||||
path: crash-* timeout-* | path: crash-* timeout-* | ||||
run: cp dictsource/${{ matrix.lang }}_* tests/fuzzing/CORPUS_DIR/ || true ; FUZZ_VOICE=${{ matrix.lang }} tests/fuzzing/synth_fuzzer.test -seed=1 -runs=10000 -max_len=4096 tests/fuzzing/CORPUS_DIR | run: cp dictsource/${{ matrix.lang }}_* tests/fuzzing/CORPUS_DIR/ || true ; FUZZ_VOICE=${{ matrix.lang }} tests/fuzzing/synth_fuzzer.test -seed=1 -runs=10000 -max_len=4096 tests/fuzzing/CORPUS_DIR | ||||
- name: Store the crash POC | - name: Store the crash POC | ||||
if: ${{ failure() }} | if: ${{ failure() }} | ||||
uses: actions/upload-artifact@v3 | |||||
uses: actions/upload-artifact@v4 | |||||
with: | with: | ||||
name: crash-${{ matrix.arch }}-${{ matrix.lang }}.2 | name: crash-${{ matrix.arch }}-${{ matrix.lang }}.2 | ||||
path: crash-* timeout-* | path: crash-* timeout-* |
name: "Validation" | name: "Validation" | ||||
runs-on: ubuntu-latest | runs-on: ubuntu-latest | ||||
steps: | steps: | ||||
- uses: actions/checkout@v3 | |||||
- uses: gradle/wrapper-validation-action@v1 | |||||
- uses: actions/checkout@v4 | |||||
- uses: gradle/wrapper-validation-action@v3 | |||||
- link: dll | - link: dll | ||||
shlib: "ON" | shlib: "ON" | ||||
steps: | steps: | ||||
- uses: actions/checkout@v3 | |||||
- uses: actions/checkout@v4 | |||||
- name: configure | - name: configure | ||||
run: cmake -Bbuild -DUSE_ASYNC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shlib }} -A ${{ matrix.arch }} | run: cmake -Bbuild -DUSE_ASYNC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shlib }} -A ${{ matrix.arch }} | ||||
- name: make | - name: make |