From 8b2757da61dfbf9ea24df83dbcd6fbbc743329a4 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 18 Jan 2024 02:44:22 +0000 Subject: [PATCH] [ci] Build i686-debug configuration There was a missing cast here that only showed up in i686-debug. See #2367. --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b086ccf11..95a6ddaeaa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,7 @@ jobs: - run: ./scripts/clang-format-diff.sh env: GITHUB_EVENT_BEFORE: ${{ github.event.before }} + build: name: build runs-on: ${{ matrix.os }} @@ -67,6 +68,26 @@ jobs: run: cmake --build out --target run-c-api-tests - name: tests run: cmake --build out --target run-tests + + build-i686: + name: build-i686 + runs-on: ubuntu-latest + steps: + - uses: actions/setup-python@v1 + with: + python-version: '3.x' + - uses: actions/checkout@v1 + with: + submodules: true + - name: install ninja (linux) + run: sudo apt-get install ninja-build + - name: mkdir + run: mkdir -p out + - name: cmake + run: cmake -S . -B out -G Ninja -DCMAKE_BUILD_TYPE=Debug -DWITH_WASI=ON -DWERROR=ON -Werror=dev -Wno-deprecated + - name: build + run: cmake --build out + emscripten: name: emscripten runs-on: ubuntu-latest @@ -80,6 +101,7 @@ jobs: docker exec emscripten emcc -v docker exec emscripten emcmake cmake . docker exec emscripten make -j 2 VERBOSE=1 + wasi: name: wasi runs-on: ubuntu-latest @@ -118,6 +140,7 @@ jobs: - run: make clang-${{ matrix.type }}-${{ matrix.sanitizer }} - if: ${{ matrix.sanitizer }} != fuzz run: make test-clang-${{ matrix.type }}-${{ matrix.sanitizer }} + build-wasm2c-memchecked: name: wasm2c-memchecked runs-on: ubuntu-latest @@ -167,6 +190,7 @@ jobs: run: cmake --build out --target run-c-api-tests - name: tests run: cmake --build out --target run-tests + build-rlbox: name: rlbox runs-on: ubuntu-latest