|
35 | 35 | command: ${{matrix.command}} |
36 | 36 | args: "${{matrix.command == 'fmt' && '--all -- --check' || '-- -D warnings'}}" |
37 | 37 |
|
| 38 | + brew: |
| 39 | + name: brew |
| 40 | + runs-on: macos-latest |
| 41 | + strategy: |
| 42 | + fail-fast: false |
| 43 | + matrix: |
| 44 | + include: |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + - {version: hdf5-mpi, mpi: true} |
| 49 | + steps: |
| 50 | + - name: Checkout repository |
| 51 | + uses: actions/checkout@v2 |
| 52 | + with: {submodules: true} |
| 53 | + - name: Install Rust (${{matrix.rust}}) |
| 54 | + uses: actions-rs/toolchain@v1 |
| 55 | + with: {toolchain: stable, profile: minimal, override: true} |
| 56 | + - name: Install HDF5 (${{matrix.version}}) |
| 57 | + run: brew install ${{matrix.version}} |
| 58 | + - name: Build and test all crates |
| 59 | + run: | |
| 60 | + [ "${{matrix.mpi}}" != "" ] && FEATURES=mpio |
| 61 | + cargo test -vv --features="$FEATURES" |
| 62 | +
|
38 | 63 | conda: |
39 | 64 | name: conda |
40 | 65 | runs-on: ${{matrix.os}}-latest |
|
55 | 80 | - {os: macos, version: 1.10.5, mpi: openmpi, channel: conda-forge, rust: beta} |
56 | 81 | - {os: ubuntu, version: 1.10.6, channel: anaconda, rust: stable} |
57 | 82 | - {os: ubuntu, version: 1.10.6, mpi: mpich, channel: conda-forge, rust: nightly} |
| 83 | + - {os: ubuntu, version: 1.12.0, mpi: openmpi, channel: conda-forge, rust: stable} |
| 84 | + - {os: macos, version: 1.12.0, channel: conda-forge, rust: stable} |
| 85 | + - {os: windows, version: 1.12.0, channel: conda-forge, rust: stable} |
58 | 86 | defaults: |
59 | 87 | run: |
60 | 88 | shell: bash -l {0} |
@@ -102,26 +130,6 @@ jobs: |
102 | 130 | - name: Build and test all crates |
103 | 131 | run: cargo test --workspace -v --features hdf5-sys/static,hdf5-sys/zlib --exclude hdf5-derive |
104 | 132 |
|
105 | | - brew: |
106 | | - name: brew |
107 | | - runs-on: macos-latest |
108 | | - strategy: |
109 | | - fail-fast: false |
110 | | - matrix: |
111 | | - version: [1.8, '1.10'] |
112 | | - rust: [stable] |
113 | | - steps: |
114 | | - - name: Checkout repository |
115 | | - uses: actions/checkout@v2 |
116 | | - with: {submodules: true} |
117 | | - - name: Install Rust (${{matrix.rust}}) |
118 | | - uses: actions-rs/toolchain@v1 |
119 | | - with: {toolchain: '${{matrix.rust}}', profile: minimal, override: true} |
120 | | - - name: Install HDF5 (${{matrix.version}}) |
121 | | - run: brew install hdf5@${{matrix.version}} |
122 | | - - name: Build and test all crates |
123 | | - run: cargo test -v |
124 | | - |
125 | 133 | apt: |
126 | 134 | name: apt |
127 | 135 | runs-on: ubuntu-${{matrix.ubuntu}} |
|
0 commit comments