Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macos ci #685

Merged
merged 3 commits into from
Jul 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: macos

on: [push, pull_request]

jobs:

macos-build:
runs-on: ${{ matrix.macos-version }}
strategy:
fail-fast: false
matrix:
macos-version:
- 'macos-latest'

steps:
- name: Sync repository
uses: actions/checkout@v2

- name: Cache Qt
id: cache-qt
uses: actions/cache@v1 # not v2!
with:
path: '${{ github.workspace }}/qt_installation/'
key: ${{ runner.os }}-QtCache

- name: Install Qt
uses: jurplel/install-qt-action@v2.13.0
with:
version: '5.15.2'
host: 'mac'
dir: '${{ github.workspace }}/qt_installation/'
cached: ${{ steps.cache-qt.outputs.cache-hit }}

- name: Build Plotjuggler
shell: pwsh
run: >
cmake -B build -DCMAKE_INSTALL_PREFIX=install PlotJuggler;
cmake --build build --target install
30 changes: 1 addition & 29 deletions .github/workflows/cmake.yaml → .github/workflows/ubuntu.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cmake
name: ubuntu

on: [push, pull_request]

Expand Down Expand Up @@ -33,31 +33,3 @@ jobs:
run: |
cmake -B build -DCMAKE_INSTALL_PREFIX=install PlotJuggler;
cmake --build build --target install

windows-build:
runs-on: ${{ matrix.windows-version }}
strategy:
fail-fast: false
matrix:
windows-version:
- 'windows-2019'
- 'windows-latest'
env:
CXXFLAGS: /MP

steps:
- name: Sync repository
uses: actions/checkout@v2

- name: Install Qt
uses: jurplel/install-qt-action@v2.13.0
with:
version: '5.15.2'
arch: 'win64_msvc2019_64'
dir: '${{ github.workspace }}/qt_installation/'

- name: Build Plotjuggler
shell: pwsh
run: >
cmake -Ax64 -T host=x64 -B build -DCMAKE_INSTALL_PREFIX=install PlotJuggler;
cmake --build build --target install
42 changes: 42 additions & 0 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: windows

on: [push, pull_request]

jobs:

windows-build:
runs-on: ${{ matrix.windows-version }}
strategy:
fail-fast: false
matrix:
windows-version:
- 'windows-2019'
- 'windows-latest'
env:
CXXFLAGS: /MP

steps:
- name: Sync repository
uses: actions/checkout@v2

- name: Cache Qt
id: cache-qt
uses: actions/cache@v1 # not v2!
with:
path: '${{ github.workspace }}/qt_installation/'
key: ${{ runner.os }}-QtCache

- name: Install Qt
uses: jurplel/install-qt-action@v2.13.0
with:
version: '5.15.2'
arch: 'win64_msvc2019_64'
dir: '${{ github.workspace }}/qt_installation/'
cached: ${{ steps.cache-qt.outputs.cache-hit }}

- name: Build Plotjuggler
shell: pwsh
run: >
cmake -Ax64 -T host=x64 -B build -DCMAKE_INSTALL_PREFIX=install PlotJuggler;
cmake --build build --target install

8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
![PlotJuggler](docs/plotjuggler3_banner.svg)

[![cmake](https://github.com/facontidavide/PlotJuggler/actions/workflows/cmake.yaml/badge.svg)](https://github.com/facontidavide/PlotJuggler/actions/workflows/cmake.yaml)
[![CI](https://github.com/facontidavide/PlotJuggler/workflows/ros1/badge.svg)](https://github.com/facontidavide/PlotJuggler/actions?query=workflow%3Aros1)
[![CI](https://github.com/facontidavide/PlotJuggler/workflows/ros2/badge.svg)](https://github.com/facontidavide/PlotJuggler/actions?query=workflow%3Aros2)
[![windows](https://github.com/facontidavide/PlotJuggler/actions/workflows/windows.yaml/badge.svg)](https://github.com/facontidavide/PlotJuggler/actions/workflows/windows.yaml)
[![ubuntu](https://github.com/facontidavide/PlotJuggler/actions/workflows/ubuntu.yaml/badge.svg)](https://github.com/facontidavide/PlotJuggler/actions/workflows/ubuntu.yaml)
[![macos](https://github.com/facontidavide/PlotJuggler/actions/workflows/macos.yaml/badge.svg)](https://github.com/facontidavide/PlotJuggler/actions/workflows/macos.yaml)
[![ROS1](https://github.com/facontidavide/PlotJuggler/workflows/ros1/badge.svg)](https://github.com/facontidavide/PlotJuggler/actions?query=workflow%3Aros1)
[![ROS2](https://github.com/facontidavide/PlotJuggler/workflows/ros2/badge.svg)](https://github.com/facontidavide/PlotJuggler/actions?query=workflow%3Aros2)
[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=I%20use%20PlotJuggler%20and%20it%20is%20amazing%0D%0A&url=https://github.com/facontidavide/PlotJuggler&via=facontidavide&hashtags=dataviz,plotjuggler,GoROS,PX4)

**Gold Sponsor**: [Greenzie](https://www.greenzie.com/)
Expand Down