Introduce SIMD hint annotations and propagate them through the bytecode translator #5
This file contains hidden or 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: Base64 Translation Dump | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - 'vm/ByteCodeTranslator/**' | |
| - 'vm/tests/**' | |
| - '.github/workflows/base64-translation-dump.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| base64-translation-dump: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Java 8 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '8' | |
| - name: Cache Maven dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2 | |
| key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-m2 | |
| - name: Build ByteCodeTranslator | |
| run: mvn -B -f vm/pom.xml -pl ByteCodeTranslator -am -DskipTests=true install | |
| - name: Build Codename One core artifact | |
| run: mvn -B -f maven/pom.xml -pl core -am -DunitTests=true -DskipTests=true -Dspotbugs.skip=true -Dmaven.javadoc.skip=true install | |
| - name: Generate Base64 translation dump | |
| run: mvn -B -f vm/pom.xml -pl tests -am -Dcodenameone.core.version=8.0-SNAPSHOT -Dtest=Base64PerformanceIntegrationTest -Dsurefire.failIfNoSpecifiedTests=false test | |
| - name: Upload Base64 translation dump artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: base64-translation-dump | |
| path: | | |
| vm/tests/target/base64-translated-snippets.txt | |
| vm/tests/target/surefire-reports/** | |
| if-no-files-found: warn |