From cfe2ff52d7dd624e1ed9e680402bb871be0d3a4c Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Sun, 6 Sep 2026 18:02:42 +0000 Subject: [PATCH] ci: update GitHub actions and fix typo --- .github/workflows/build.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a34e506b60..ba9504a2c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: - name: install tools run: | pip3 install flake8==7.3.0 ruff==0.15.7 - sudo apt-get install clang-format + sudo apt-get install -y clang-format - run: flake8 - run: ruff check - run: ./scripts/clang-format-diff.sh @@ -40,7 +40,7 @@ jobs: with: submodules: true - name: install ninja (linux) - run: sudo apt-get install ninja-build + run: sudo apt-get install -y ninja-build if: matrix.os == 'ubuntu-latest' - name: install ninja (osx) run: brew install ninja @@ -120,7 +120,7 @@ jobs: - uses: actions/checkout@v1 with: submodules: true - - run: sudo apt-get install ninja-build + - run: sudo apt-get install -y ninja-build - name: workaround for ASLR+ASAN compatibility # See https://github.com/actions/runner/issues/3207 run: sudo sysctl -w vm.mmap_rnd_bits=28 - run: make clang-${{ matrix.type }}-${{ matrix.sanitizer }} @@ -140,7 +140,7 @@ jobs: - uses: actions/checkout@v1 with: submodules: true - - run: sudo apt-get install ninja-build + - run: sudo apt-get install -y ninja-build - name: workaround for ASLR+ASAN compatibility # See https://github.com/actions/runner/issues/3207 run: sudo sysctl -w vm.mmap_rnd_bits=28 - run: make clang-debug-asan @@ -157,7 +157,7 @@ jobs: with: python-version: '3.x' - name: Install Ninja - run: sudo apt-get install ninja-build + run: sudo apt-get install -y ninja-build - name: Detect minimum CMake version run: > awk 'match($0, /cmake_minimum_required\(VERSION *([0-9]+\.[0-9]+)\)/, a) @@ -216,14 +216,14 @@ jobs: - uses: actions/checkout@v1 with: submodules: true - - run: sudo apt-get install ninja-build + - run: sudo apt-get install -y ninja-build - run: make clang-debug - name: tests (wasm2c tests excluding memory64) run: ./test/run-tests.py wasm2c --exclude-dir memory64 build-cross: runs-on: ubuntu-latest - # Temporatily disabled until we can get it fixed: + # Temporarily disabled until we can get it fixed: # https://github.com/WebAssembly/wabt/issues/2655 if: ${{ false }} strategy: @@ -251,13 +251,9 @@ jobs: platforms: ${{matrix.arch}} image: "tonistiigi/binfmt:master" - name: apt-get update - run: sudo apt-get update - - name: install ninja - run: sudo apt-get install ninja-build - - name: install the toolchain - run: sudo apt-get install g++-${{matrix.arch}}-linux-gnu - - name: install distcc - run: sudo apt-get install distcc + run: sudo apt-get update -y + - name: install dependencies + run: sudo apt-get install -y ninja-build g++-${{matrix.arch}}-linux-gnu distcc - name: mkdir distcc symlinks run: sudo mkdir -p /opt/bin/distcc_symlinks - name: distcc symlink