Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
eel76 committed Nov 9, 2024
1 parent b9ed394 commit 793bc64
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,7 @@ on:

jobs:
tests:
runs-on: ubuntu-24.04

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build and run tests
uses: ./.github/workflows/tests.yml
with:
os: ${{ github.job.container.image }}
cxx_compilers: '["g++-14", "clang++"]'
uses: ./.github/workflows/tests.yml
with:
os: 'ubuntu-24.04'
cxx_compilers: '[g++-14, clang++]'
14 changes: 14 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: macos

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
tests:
uses: ./.github/workflows/tests.yml
with:
os: 'macos-15'
cxx_compilers: '[clang++]'
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
type: string

jobs:
reusable-job:
build-and-run:
runs-on: ${{ inputs.os }}

strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
uses: ./.github/workflows/tests.yml
with:
os: 'windows-2022'
cxx_compilers: '["cl"]'
cxx_compilers: '[cl]'

0 comments on commit 793bc64

Please sign in to comment.