Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading