diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 586b64f4..9fa3998e 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -9,8 +9,9 @@ jobs: - uses: actions/checkout@v1 - name: Log environment run: ./scripts/log-env.sh + - run: sudo apt-get update - name: Install dependencies - run: sudo apt-get update && sudo apt install -y $(./scripts/list-build-dependencies.sh -p apt --compiler clang --compiler-version 8) + run: sudo apt-get install -y $(./scripts/list-build-dependencies.sh -p apt --compiler clang --compiler-version 8) - name: Build run: ./scripts/build.sh --compiler clang --compiler-version 8 --lto - name: Summarize warnings @@ -26,8 +27,9 @@ jobs: - uses: actions/checkout@v1 - name: Log environment run: ./scripts/log-env.sh + - run: sudo apt-get update - name: Install dependencies - run: sudo apt-get update && sudo apt install -y $(./scripts/list-build-dependencies.sh -p apt) + run: sudo apt-get install -y $(./scripts/list-build-dependencies.sh -p apt) - name: Build run: ./scripts/build.sh - name: Summarize warnings @@ -40,8 +42,9 @@ jobs: - uses: actions/checkout@v1 - name: Log environment run: ./scripts/log-env.sh + - run: sudo apt-get update - name: Install dependencies - run: sudo apt-get update && sudo apt install -y $(./scripts/list-build-dependencies.sh -p apt --compiler-version 9) + run: sudo apt-get install -y $(./scripts/list-build-dependencies.sh -p apt --compiler-version 9) - name: Build run: ./scripts/build.sh --compiler-version 9 --lto - name: Summarize warnings diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 5c617543..c733efde 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,6 +1,7 @@ name: macOS builds on: push jobs: + build_macos_xcode_clang: name: Clang 10 (Xcode) runs-on: macOS-10.14 diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 0b2996e6..3b6c43dc 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,8 +1,7 @@ name: Static code analysis - -on: [push] - +on: push jobs: + build_clang_static_analyser: name: Clang static analyzer runs-on: ubuntu-18.04 @@ -10,9 +9,9 @@ jobs: - uses: actions/checkout@v1 - name: Log environment run: ./scripts/log-env.sh - - run: sudo apt update - - name: Install packages - run: sudo apt-get install autoconf-archive libsdl1.2-dev libsdl-net1.2-dev libopusfile-dev libspeexdsp-dev python3-setuptools + - run: sudo apt-get update + - name: Install dependencies + run: sudo apt-get install python3-setuptools $(./scripts/list-build-dependencies.sh -p apt) - name: Install scan-build (Python version) run: sudo pip3 install scan-build beautifulsoup4 html5lib - name: Build diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9fc32fbb..121442e7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: GPL-2.0-or-later - name: Windows builds on: push jobs: