build: Update Actions environment
This commit is contained in:
parent
8c7806b8d4
commit
b1e3985262
2 changed files with 9 additions and 8 deletions
.github/workflows
13
.github/workflows/check.yml
vendored
13
.github/workflows/check.yml
vendored
|
@ -45,21 +45,22 @@ jobs:
|
|||
./tests/symbolizer.py check
|
||||
analyzer_check_job:
|
||||
# https://github.com/actions/virtual-environments
|
||||
# - Ubuntu 20.04 ubuntu-20.04 ubuntu-20.04
|
||||
# - Ubuntu 18.04 ubuntu-latest or ubuntu-18.04
|
||||
# - Ubuntu 22.04 ubuntu-22.04
|
||||
# - Ubuntu 20.04 ubuntu-20.04
|
||||
# https://apt.llvm.org/
|
||||
# - Bionic (18.04)
|
||||
# - Jammy (22.04)
|
||||
# - Focal (20.04)
|
||||
runs-on: ubuntu-18.04
|
||||
# - Bionic (18.04)
|
||||
runs-on: ubuntu-22.04
|
||||
name: Analyze with Clang
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install Clang
|
||||
run: |
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key 2>/dev/null | sudo apt-key add -
|
||||
sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main' -y
|
||||
sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-14 main' -y
|
||||
sudo apt-get update -q
|
||||
sudo apt-get install -y clang-11 lld-11 libc++-11-dev libc++abi-11-dev clang-tools-11
|
||||
sudo apt-get install -y clang-14 lld-14 libc++-14-dev libc++abi-14-dev clang-tools-14
|
||||
- name: Clang Analyzer
|
||||
# excludes include/mongoose.h src/mongoose.c include/jsmn.h src/jsmn.c
|
||||
# exit code 1 if there is output
|
||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -197,7 +197,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-20.04, ubuntu-18.04]
|
||||
os: [ubuntu-20.04, ubuntu-22.04]
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: Build with CMake on ${{ matrix.os }}
|
||||
steps:
|
||||
|
@ -223,7 +223,7 @@ jobs:
|
|||
if: ${{ false }} # disable for now
|
||||
needs: release_job
|
||||
# The host should always be Linux
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
# jessie, ubuntu16.04 has no SoapySDR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue