Remove SOUP_LITTLE_ENDIAN, avoid non-portable code #1391
This file contains 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: Build WASM library | |
on: push | |
jobs: | |
emscripten: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mymindstorm/setup-emsdk@v13 | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: php wasm.php | |
- name: Ensure files exist | |
uses: andstor/file-existence-action@v3 | |
with: | |
files: "bindings/libsoup.js, bindings/libsoup.wasm" | |
fail: true | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "WASM" | |
path: | | |
bindings/libsoup.js | |
bindings/libsoup.wasm |