Skip to content

Commit 4b02ac8

Browse files
committed
Add linux build to Ci
1 parent 8bd9660 commit 4b02ac8

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.github/workflows/pre-release-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ on:
99
branches: [bump-meilisearch-v*]
1010

1111
jobs:
12-
integeration_tests:
13-
name: integration-tests
14-
runs-on: macos-11
12+
integration_tests:
13+
name: integration-tests on ${{ matrix.os }}
14+
runs-on: ${{ matrix.os }}
15+
strategy:
16+
matrix:
17+
os: ["macos-latest", "ubuntu-20.04"]
1518
env:
1619
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
1720
steps:

.github/workflows/tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ on:
1010
- main
1111

1212
jobs:
13-
integeration_tests:
13+
integration_tests:
1414
# Will not run if the event is a PR to bump-meilisearch-v* (so a pre-release PR)
1515
# Will still run for each push to bump-meilisearch-v*
1616
if: github.event_name != 'pull_request' || !startsWith(github.base_ref, 'bump-meilisearch-v')
17-
name: integration-tests
18-
runs-on: macos-latest
17+
name: integration-tests on ${{ matrix.os }}
18+
runs-on: ${{ matrix.os }}
19+
strategy:
20+
matrix:
21+
os: ["macos-latest", "ubuntu-20.04"]
1922
env:
2023
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
2124
GITHUB_PAT: ${{ secrets.MEILIBOT_PAT_REPO }}

bors.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
status = ['integration-tests', 'linter-check']
1+
status = [
2+
'integration-tests on macos-11',
3+
'integration-tests on ubuntu-20.04',
4+
'linter-check'
5+
]
26
# 1 hour timeout
37
timeout-sec = 3600

0 commit comments

Comments
 (0)