Fix -Wconversion warnings from gcc 8.5.0 #2919
Workflow file for this run
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: Java WASM bindings | |
| on: | |
| push: | |
| paths: | |
| - ".github/workflows/java-wasm-bindings.yml" | |
| - "include/" | |
| - "src/" | |
| - "*akefile*" | |
| - "java/" | |
| - "java/wasm/" | |
| branches: | |
| - main | |
| - ruby-4.0 | |
| pull_request: | |
| jobs: | |
| build-wasm: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: head | |
| bundler-cache: true | |
| - name: rake templates | |
| run: PRISM_EXCLUDE_PRETTYPRINT=1 PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS=1 bundle exec rake templates | |
| - name: Set up WASI-SDK | |
| run: | | |
| wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-x86_64-linux.tar.gz | |
| tar xvf wasi-sdk-25.0-x86_64-linux.tar.gz | |
| - name: Build the project | |
| run: make java-wasm WASI_SDK_PATH=$(pwd)/wasi-sdk-25.0-x86_64-linux | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| cache: maven | |
| - name: Build the Java artifacts | |
| run: mvn -ntp install | |
| working-directory: java | |
| - name: Run the tests from the WASM module | |
| run: mvn -ntp test | |
| working-directory: java | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: prism.wasm | |
| path: java/wasm/src/test/resources/prism.wasm |