Skip to content

Commit fc6aad9

Browse files
committed
De-duplicate GitHub actions config
1 parent bd3a7a7 commit fc6aad9

File tree

3 files changed

+10
-144
lines changed

3 files changed

+10
-144
lines changed

.github/workflows/ci-osx.yaml

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

.github/workflows/ci-windows.yaml

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

.github/workflows/ci-linux.yaml renamed to .github/workflows/ci.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Linux CI
1+
name: Tests
22

33
on: [push, pull_request]
44

@@ -8,11 +8,12 @@ concurrency:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: ${{ matrix.platform }}
1212
strategy:
1313
fail-fast: false
1414
matrix:
1515
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
16+
platform: [ubuntu-latest, windows-latest, macos-12]
1617

1718
steps:
1819
- name: Checkout source
@@ -41,6 +42,13 @@ jobs:
4142
c-compiler cxx-compiler
4243
python=${{matrix.python-version}} wheel pip
4344
45+
- name: Install clang
46+
shell: "bash -l {0}"
47+
if: ${{ matrix.platform == 'macos-12' }}
48+
run: |
49+
conda activate env
50+
conda install -y 'clang>=12.0.1,<17'
51+
4452
- name: Show info about `env` environment
4553
shell: "bash -l {0}"
4654
run: |

0 commit comments

Comments
 (0)