diff options
| author | MoustaphaSaad <moustapha.saad.abdelhamed@gmail.com> | 2024-06-07 16:45:06 +0300 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2024-06-19 14:06:09 +0200 |
| commit | 6f37c932dc414c177dc87584bcb81587f80385d2 (patch) | |
| tree | 64f8254ee2e07f123d6587f18318c1506294f79d /.github/workflows | |
| parent | d661f77deddaad2e121fd0fecf71d7ca417ed466 (diff) | |
| download | portable-6f37c932dc414c177dc87584bcb81587f80385d2.tar.gz portable-6f37c932dc414c177dc87584bcb81587f80385d2.tar.bz2 portable-6f37c932dc414c177dc87584bcb81587f80385d2.zip | |
fix emscripten.yml workflow
fix formatting in some commands. Add missing -fsanitize=address to the ASAN test
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/emscripten.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index 14aefe2..964c53b 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml | |||
| @@ -25,10 +25,10 @@ jobs: | |||
| 25 | - name: "Setup emsdk" | 25 | - name: "Setup emsdk" |
| 26 | uses: mymindstorm/setup-emsdk@v14 | 26 | uses: mymindstorm/setup-emsdk@v14 |
| 27 | with: | 27 | with: |
| 28 | version: 3.1.60 | 28 | version: "3.1.60" |
| 29 | 29 | ||
| 30 | - name: "Prepare repository" | 30 | - name: "Prepare repository" |
| 31 | run: "./autogen.sh" | 31 | run: ./autogen.sh |
| 32 | 32 | ||
| 33 | - name: "Configure CMake" | 33 | - name: "Configure CMake" |
| 34 | run: emcmake cmake -Bbuild | 34 | run: emcmake cmake -Bbuild |
| @@ -53,13 +53,16 @@ jobs: | |||
| 53 | - name: "Setup emsdk" | 53 | - name: "Setup emsdk" |
| 54 | uses: mymindstorm/setup-emsdk@v14 | 54 | uses: mymindstorm/setup-emsdk@v14 |
| 55 | with: | 55 | with: |
| 56 | version: 3.1.60 | 56 | version: "3.1.60" |
| 57 | 57 | ||
| 58 | - name: "Prepare repository" | 58 | - name: "Prepare repository" |
| 59 | run: "./autogen.sh" | 59 | run: ./autogen.sh |
| 60 | 60 | ||
| 61 | - name: "Configure CMake" | 61 | - name: "Configure CMake" |
| 62 | run: emcmake cmake -Bbuild | 62 | run: emcmake cmake -Bbuild |
| 63 | env: | ||
| 64 | CFLAGS: "-ggdb -fsanitize=address" | ||
| 65 | LDFLAGS: "-fsanitize=address" | ||
| 63 | 66 | ||
| 64 | - name: "Build" | 67 | - name: "Build" |
| 65 | run: cmake --build build --config Release | 68 | run: cmake --build build --config Release |
