Skip to content

Commit

Permalink
ci: Update CI with new actions
Browse files Browse the repository at this point in the history
This commit introduces CI that runs on Ubuntu 22.04 and updates the
checkout action to a later version.

Signed-off-by: Johannes Demel <[email protected]>
  • Loading branch information
jdemel committed Dec 19, 2022
1 parent 1f8d527 commit e93d3ae
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3.1.0
- uses: gnuradio/[email protected]
with:
source: '.'
Expand All @@ -18,7 +18,7 @@ jobs:
name: Check Python Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3.1.0
- uses: quentinguidee/pep8-action@v1
with:
arguments: '--max-line-length=120 --ignore E203,E265,E266,E402,E501,E704,E712,E713,E714,E711,E722,E741,W503,W504,W605 --exclude *.yml.py'
18 changes: 14 additions & 4 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@ name: Run CI tests
on: [push, pull_request]

jobs:
build-ubuntu-gnuradio-latest:
runs-on: ubuntu-20.04
build-ubuntu-gnuradio-310:
strategy:
fail-fast: false
matrix:
distro:
- ubuntu-20.04
- ubuntu-22.04
runs-on: ${{ matrix.distro }}

name: Build w/ GR 3.10 on ${{ matrix.distro }}

steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3.1.0
- name: Add GNU Radio PPA
run: sudo add-apt-repository ppa:gnuradio/gnuradio-releases && sudo apt update
- name: dependencies
Expand All @@ -29,8 +37,10 @@ jobs:
build-ubuntu-gnuradio-39:
runs-on: ubuntu-20.04

name: Build w/ GR 3.9 on ubuntu-20.04

steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3.1.0
- name: Add GNU Radio PPA
run: sudo add-apt-repository ppa:gnuradio/gnuradio-releases-3.9 && sudo apt update
- name: dependencies
Expand Down

0 comments on commit e93d3ae

Please sign in to comment.