Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split build jobs into 2 machines #398

Merged
merged 3 commits into from
Dec 2, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/CI-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,26 @@ name: CI-PR
on: pull_request

jobs:
build:
name: Test and build
# First machine, runs Bluepill tests
integration_tests:
name: Bluepill Test
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Select Xcode 11.2
run: sudo xcode-select -s /Applications/Xcode_11.2.app
- name: Run Bluepill tests
run: ./scripts/bluepill.sh test
- name: Build Bluepill
run: ./scripts/bluepill.sh instance_tests

# Second machine, runs BP tests and makes build
build:
name: BP Test and build
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Select Xcode 11.2
run: sudo xcode-select -s /Applications/Xcode_11.2.app
- name: Run BP tests
run: ./scripts/bluepill.sh runner_tests
- name: Build and Package
run: ./scripts/bluepill.sh build
20 changes: 16 additions & 4 deletions .github/workflows/CI-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,26 @@ on:
- '*'

jobs:
build:
name: Test and build
# First machine, runs Bluepill tests
integration_tests:
name: Bluepill Test
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Select Xcode 11.2
run: sudo xcode-select -s /Applications/Xcode_11.2.app
- name: Run Bluepill tests
run: ./scripts/bluepill.sh test
- name: Build Bluepill
run: ./scripts/bluepill.sh instance_tests

# Second machine, runs BP tests and makes build
build:
name: BP Test and build
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Select Xcode 11.2
run: sudo xcode-select -s /Applications/Xcode_11.2.app
- name: Run BP tests
run: ./scripts/bluepill.sh runner_tests
- name: Build and Package
run: ./scripts/bluepill.sh build
16 changes: 14 additions & 2 deletions .github/workflows/CI-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,20 @@ on:
- 'v*.*.*'

jobs:
# First machine, runs Bluepill tests
integration_tests:
name: Bluepill Test
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Select Xcode 11.2
run: sudo xcode-select -s /Applications/Xcode_11.2.app
- name: Run Bluepill tests
run: ./scripts/bluepill.sh instance_tests

# Second machine, runs BP tests and makes build
build:
name: Test and build
name: BP Test and build
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -17,7 +29,7 @@ jobs:
- name: Select Xcode 11.2
run: sudo xcode-select -s /Applications/Xcode_11.2.app
- name: Run Bluepill tests
run: ./scripts/bluepill.sh test
run: ./scripts/bluepill.sh runner_tests
- name: Build Bluepill
run: ./scripts/bluepill.sh build
- name: Release
Expand Down