|
| 1 | +name: Test Suite |
| 2 | + |
| 3 | +on: [push, pull_request] |
| 4 | + |
| 5 | +env: |
| 6 | + CARGO_TERM_COLOR: always |
| 7 | + |
| 8 | +jobs: |
| 9 | + llvm36: |
| 10 | + name: LLVM 3.6 Ubuntu |
| 11 | + runs-on: ubuntu-latest |
| 12 | + |
| 13 | + steps: |
| 14 | + - name: Checkout |
| 15 | + uses: actions/checkout@v2 |
| 16 | + - name: Install LLVM and Clang |
| 17 | + |
| 18 | + with: |
| 19 | + version: "3.6" |
| 20 | + - name: Build |
| 21 | + run: cargo build --release --features llvm3-6 --verbose |
| 22 | + - name: Run tests |
| 23 | + run: cargo test --release --features llvm3-6 --verbose |
| 24 | + |
| 25 | + llvm37: |
| 26 | + name: LLVM 3.7 Ubuntu |
| 27 | + runs-on: ubuntu-latest |
| 28 | + |
| 29 | + steps: |
| 30 | + - name: Checkout |
| 31 | + uses: actions/checkout@v2 |
| 32 | + - name: Install LLVM and Clang |
| 33 | + |
| 34 | + with: |
| 35 | + version: "3.7" |
| 36 | + - name: Build |
| 37 | + run: cargo build --release --features llvm3-7 --verbose |
| 38 | + - name: Run tests |
| 39 | + run: cargo test --release --features llvm3-7 --verbose |
| 40 | + |
| 41 | + llvm38: |
| 42 | + name: LLVM 3.8 Ubuntu |
| 43 | + runs-on: ubuntu-latest |
| 44 | + |
| 45 | + steps: |
| 46 | + - name: Checkout |
| 47 | + uses: actions/checkout@v2 |
| 48 | + - name: Install LLVM and Clang |
| 49 | + |
| 50 | + with: |
| 51 | + version: "3.8" |
| 52 | + - name: Build |
| 53 | + run: cargo build --release --features llvm3-8 --verbose |
| 54 | + - name: Run tests |
| 55 | + run: cargo test --release --features llvm3-8 --verbose |
| 56 | + |
| 57 | + # llvm39: |
| 58 | + # name: LLVM 3.9 Ubuntu |
| 59 | + # runs-on: ubuntu-latest |
| 60 | + |
| 61 | + # steps: |
| 62 | + # - name: Checkout |
| 63 | + # uses: actions/checkout@v2 |
| 64 | + # - name: Install LLVM and Clang |
| 65 | + # uses: KyleMayes/[email protected] |
| 66 | + # with: |
| 67 | + # version: "3.9" |
| 68 | + # - name: Build |
| 69 | + # run: cargo build --release --features llvm3-9 --verbose |
| 70 | + # - name: Run tests |
| 71 | + # run: cargo test --release --features llvm3-9 --verbose |
| 72 | + |
| 73 | + llvm4: |
| 74 | + name: LLVM 4 Ubuntu |
| 75 | + runs-on: ubuntu-latest |
| 76 | + |
| 77 | + steps: |
| 78 | + - name: Checkout |
| 79 | + uses: actions/checkout@v2 |
| 80 | + - name: Install LLVM and Clang |
| 81 | + |
| 82 | + with: |
| 83 | + version: "4.0" |
| 84 | + - name: Build |
| 85 | + run: cargo build --release --features llvm4-0 --verbose |
| 86 | + - name: Run tests |
| 87 | + run: cargo test --release --features llvm4-0 --verbose |
| 88 | + |
| 89 | + llvm5: |
| 90 | + name: LLVM 5 Ubuntu |
| 91 | + runs-on: ubuntu-latest |
| 92 | + |
| 93 | + steps: |
| 94 | + - name: Checkout |
| 95 | + uses: actions/checkout@v2 |
| 96 | + - name: Install LLVM and Clang |
| 97 | + |
| 98 | + with: |
| 99 | + version: "5.0" |
| 100 | + - name: Build |
| 101 | + run: cargo build --release --features llvm5-0 --verbose |
| 102 | + - name: Run tests |
| 103 | + run: cargo test --release --features llvm5-0 --verbose |
| 104 | + |
| 105 | + llvm6: |
| 106 | + name: LLVM 6 Ubuntu |
| 107 | + runs-on: ubuntu-latest |
| 108 | + |
| 109 | + steps: |
| 110 | + - name: Checkout |
| 111 | + uses: actions/checkout@v2 |
| 112 | + - name: Install LLVM and Clang |
| 113 | + |
| 114 | + with: |
| 115 | + version: "6.0" |
| 116 | + - name: Build |
| 117 | + run: cargo build --release --features llvm6-0 --verbose |
| 118 | + - name: Run tests |
| 119 | + run: cargo test --release --features llvm6-0 --verbose |
| 120 | + |
| 121 | + llvm7: |
| 122 | + name: LLVM 7 Ubuntu |
| 123 | + runs-on: ubuntu-latest |
| 124 | + |
| 125 | + steps: |
| 126 | + - name: Checkout |
| 127 | + uses: actions/checkout@v2 |
| 128 | + - name: Install LLVM and Clang |
| 129 | + |
| 130 | + with: |
| 131 | + version: "7.0" |
| 132 | + - name: Build |
| 133 | + run: cargo build --release --features llvm7-0 --verbose |
| 134 | + - name: Run tests |
| 135 | + run: cargo test --release --features llvm7-0 --verbose |
| 136 | + |
| 137 | + llvm8: |
| 138 | + name: LLVM 8 Ubuntu |
| 139 | + runs-on: ubuntu-latest |
| 140 | + |
| 141 | + steps: |
| 142 | + - name: Checkout |
| 143 | + uses: actions/checkout@v2 |
| 144 | + - name: Install LLVM and Clang |
| 145 | + |
| 146 | + with: |
| 147 | + version: "8.0" |
| 148 | + - name: Build |
| 149 | + run: cargo build --release --features llvm8-0 --verbose |
| 150 | + - name: Run tests |
| 151 | + run: cargo test --release --features llvm8-0 --verbose |
| 152 | + |
| 153 | + llvm9: |
| 154 | + name: LLVM 9 Ubuntu |
| 155 | + runs-on: ubuntu-latest |
| 156 | + |
| 157 | + steps: |
| 158 | + - name: Checkout |
| 159 | + uses: actions/checkout@v2 |
| 160 | + - name: Install LLVM and Clang |
| 161 | + |
| 162 | + with: |
| 163 | + version: "9.0" |
| 164 | + - name: Build |
| 165 | + run: cargo build --release --features llvm9-0 --verbose |
| 166 | + - name: Run tests |
| 167 | + run: cargo test --release --features llvm9-0 --verbose |
| 168 | + |
| 169 | + llvm10: |
| 170 | + name: LLVM 10 Ubuntu |
| 171 | + runs-on: ubuntu-latest |
| 172 | + |
| 173 | + steps: |
| 174 | + - name: Checkout |
| 175 | + uses: actions/checkout@v2 |
| 176 | + - name: Install LLVM and Clang |
| 177 | + |
| 178 | + with: |
| 179 | + version: "10.0" |
| 180 | + cached: true |
| 181 | + - name: Build |
| 182 | + run: cargo build --release --features llvm10-0 --verbose |
| 183 | + - name: Run tests |
| 184 | + run: cargo test --release --features llvm10-0 --verbose |
| 185 | + |
| 186 | + llvm11: |
| 187 | + name: LLVM 11 Ubuntu |
| 188 | + runs-on: ubuntu-latest |
| 189 | + |
| 190 | + steps: |
| 191 | + - name: Checkout |
| 192 | + uses: actions/checkout@v2 |
| 193 | + - name: Install LLVM and Clang |
| 194 | + |
| 195 | + with: |
| 196 | + version: "11.0" |
| 197 | + cached: true |
| 198 | + - name: Build |
| 199 | + run: cargo build --release --features llvm11-0 --verbose |
| 200 | + - name: Run tests |
| 201 | + run: cargo test --release --features llvm11-0 --verbose |
| 202 | + |
| 203 | + llvm12: |
| 204 | + name: LLVM 12 Ubuntu |
| 205 | + runs-on: ubuntu-latest |
| 206 | + |
| 207 | + steps: |
| 208 | + - name: Checkout |
| 209 | + uses: actions/checkout@v2 |
| 210 | + - name: Install LLVM and Clang |
| 211 | + |
| 212 | + with: |
| 213 | + version: "12.0" |
| 214 | + cached: true |
| 215 | + - name: Build |
| 216 | + run: cargo build --release --features llvm12-0 --verbose |
| 217 | + - name: Run tests |
| 218 | + run: cargo test --release --features llvm12-0 --verbose |
0 commit comments