Skip to content

Commit 793bc64

Browse files
committed
Update workflows
1 parent b9ed394 commit 793bc64

File tree

4 files changed

+20
-13
lines changed

4 files changed

+20
-13
lines changed

.github/workflows/linux.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,7 @@ on:
88

99
jobs:
1010
tests:
11-
runs-on: ubuntu-24.04
12-
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v4
16-
17-
- name: Build and run tests
18-
uses: ./.github/workflows/tests.yml
19-
with:
20-
os: ${{ github.job.container.image }}
21-
cxx_compilers: '["g++-14", "clang++"]'
11+
uses: ./.github/workflows/tests.yml
12+
with:
13+
os: 'ubuntu-24.04'
14+
cxx_compilers: '[g++-14, clang++]'

.github/workflows/macos.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: macos
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
tests:
11+
uses: ./.github/workflows/tests.yml
12+
with:
13+
os: 'macos-15'
14+
cxx_compilers: '[clang++]'

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
type: string
1414

1515
jobs:
16-
reusable-job:
16+
build-and-run:
1717
runs-on: ${{ inputs.os }}
1818

1919
strategy:

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
uses: ./.github/workflows/tests.yml
1212
with:
1313
os: 'windows-2022'
14-
cxx_compilers: '["cl"]'
14+
cxx_compilers: '[cl]'

0 commit comments

Comments
 (0)