Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Feb 3, 2024
1 parent eb35c6d commit 5f2524b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ on: [push, pull_request]
jobs:
build:

runs-on: ubuntu-22.04
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]

steps:
- uses: actions/checkout@v3
- name: Dependencies
run: sudo apt-get install tree cmake qtbase5-dev libxss-dev libxrandr-dev
- name: Build
- name: Install Dependencies
run: sudo apt update && sudo apt install cmake qtbase5-dev libxss-dev libxrandr-dev
- name: Build and Package
run: |
export CWD=`pwd`
mkdir $CWD/build
cd $CWD/build
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DSERVICE_GROUP=plugdev -DCMAKE_BUILD_TYPE=Release ..
make -j2
cpack -G DEB

0 comments on commit 5f2524b

Please sign in to comment.