Skip to content

Commit

Permalink
Merge pull request #52 from VCTLabs/bionic-cleanup
Browse files Browse the repository at this point in the history
cleanup ci workflows
  • Loading branch information
sarnold committed May 11, 2023
2 parents aac2960 + 7bc3d3b commit 7fc022a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/choke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
os: [ubuntu-22.04, ubuntu-20.04]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
analyze:
name: Analyze C++
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/conda-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-18.04', 'ubuntu-20.04']
os: ['ubuntu-22.04', 'ubuntu-20.04']
python-version: ['3.7', '3.9']
include:
- os: 'ubuntu-18.04'
- os: 'ubuntu-22.04'
generator: 'Ninja'
build_type: 'Debug'
- os: 'ubuntu-20.04'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
os: [ubuntu-22.04, ubuntu-20.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
sudo apt-get install -y libhiredis-dev redis-server
- name: Backports (bionic)
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y -s ppa:nerdboy/embedded
Expand All @@ -75,7 +75,7 @@ jobs:
make cov || true
- name: Configure and build (cmake)
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-22.04'
run: |
cmake -S . -B build -DWITH_COVERAGE=1 -DCMAKE_BUILD_TYPE=Debug
cmake --build build -j 2
Expand All @@ -96,7 +96,7 @@ jobs:
gcovr --config gcovr.cfg -s -b src/.libs/ test/
- name: Test (ctest)
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-22.04'
env:
RIPC_SERVER_PATH: "${{ env.TEMP_DIR }}/socket"
run: |
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
os: [ubuntu-22.04, ubuntu-20.04]
include:
- os: 'ubuntu-20.04'
test_cmd: 'auto'
- os: 'ubuntu-18.04'
- os: 'ubuntu-22.04'
test_cmd: 'bionic'

steps:
Expand All @@ -40,11 +40,8 @@ jobs:
- name: Deps plus PPA/msg bus
run: |
sudo apt-get -qq update
sudo apt-get install -yqq software-properties-common libhiredis-dev
sudo apt-get install -yqq redis-server autoconf automake
sudo add-apt-repository -y -s ppa:nerdboy/embedded
sudo apt-get -qq update
sudo apt-get install -yqq libjson-c-dev libgtest-dev libgmock-dev lcov
sudo apt-get install -yqq redis-server autoconf automake lcov
sudo apt-get install -yqq libjson-c-dev libhiredis-dev libgtest-dev libgmock-dev
sudo systemctl stop redis
- name: Add python requirements
Expand All @@ -57,7 +54,7 @@ jobs:
tox -e "${{ matrix.test_cmd }}"
- uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-22.04'
with:
name: coverage
path: ./coverage
Expand Down

0 comments on commit 7fc022a

Please sign in to comment.