Skip to content

Commit

Permalink
Merge pull request #2 from diamant3/add-ci
Browse files Browse the repository at this point in the history
add ci
  • Loading branch information
HendrixString authored Sep 4, 2023
2 parents 9448987 + 55617dc commit f9eb873
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/compile_macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: mac-os
on:
pull_request:
push:
branches:
- main

jobs:

macos_build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build & Install
run: |
sudo mkdir cmake-build-release
cd cmake-build-release
sudo cmake -DCMAKE_BUILD_TYPE=Release ..
sudo cmake --install .
- name: Build all examples
run: |
cd cmake-build-release
sudo cmake -DCMAKE_BUILD_TYPE=Release ..
sudo cmake --build .
25 changes: 25 additions & 0 deletions .github/workflows/compile_ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ubuntu
on:
pull_request:
push:
branches:
- main

jobs:
ubuntu_build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build & Install
run: |
sudo mkdir cmake-build-release
cd cmake-build-release
sudo cmake -DCMAKE_BUILD_TYPE=Release ..
sudo cmake --install .
- name: Build all examples
run: |
cd cmake-build-release
sudo cmake -DCMAKE_BUILD_TYPE=Release ..
sudo cmake --build .
25 changes: 25 additions & 0 deletions .github/workflows/compile_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: windows
on:
pull_request:
push:
branches:
- main

jobs:
windows_build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build & Install
run: |
mkdir cmake-build-release
cd cmake-build-release
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --install .
- name: Build all examples
run: |
cd cmake-build-release
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

0 comments on commit f9eb873

Please sign in to comment.