Skip to content

Commit ec79d04

Browse files
committed
re-separate ci jobs
1 parent bfbdcc7 commit ec79d04

File tree

4 files changed

+67
-49
lines changed

4 files changed

+67
-49
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/linux.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Linux
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags:
7+
- '*'
8+
pull_request:
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Install Clang 17
16+
run: |
17+
wget https://apt.llvm.org/llvm.sh
18+
chmod +x ./llvm.sh
19+
sudo ./llvm.sh 17
20+
- name: Configure
21+
run: CXX=clang++-17 cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DRPP_TEST=ON
22+
- name: Build
23+
run: cmake --build build -- -j
24+
- name: Test
25+
run: ctest --test-dir build --output-on-failure

.github/workflows/macos.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: macOS
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags:
7+
- '*'
8+
pull_request:
9+
jobs:
10+
macos:
11+
runs-on: macos-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Install Clang 17
16+
run: brew install llvm@17
17+
- name: Configure
18+
run: CXX=/usr/local/opt/llvm/bin/clang++ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DRPP_TEST=ON
19+
- name: Build
20+
run: cmake --build build -- -j
21+
- name: Test
22+
run: ctest --test-dir build --output-on-failure

.github/workflows/windows.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Windows
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags:
7+
- '*'
8+
pull_request:
9+
jobs:
10+
build:
11+
runs-on: windows-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Configure
16+
run: cmake -S . -B build -DRPP_TEST=ON
17+
- name: Build
18+
run: cmake --build build --config Release
19+
- name: Test
20+
run: ctest --test-dir build -C Release --output-on-failure

0 commit comments

Comments
 (0)