diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 03e4c6e19..760619c96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: - name: install tools run: | pip3 install -r requirements-dev.txt - 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,7 +216,7 @@ 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 @@ -248,13 +248,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