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

Parallelize CI builds #1205

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Changes from all 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
55 changes: 53 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ permissions:
contents: read

jobs:
build:
build_bisq:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]

name: Building on ${{ matrix.os }}
name: Build Bisq on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4.0.0
Expand All @@ -31,20 +31,71 @@ jobs:
with:
arguments: build --scan

build_network_module:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]

name: Build network module on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4.0.0

- name: Setup Java JDK
uses: actions/setup-java@v3.12.0
with:
java-version: '17'
distribution: 'zulu'

- name: Gradle Build Action (network)
uses: gradle/gradle-build-action@v2.8.0
with:
arguments: build --scan
build-root-directory: network
gradle-executable: ./gradlew

build_tor_module:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]

name: Build tor module on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4.0.0

- name: Setup Java JDK
uses: actions/setup-java@v3.12.0
with:
java-version: '17'
distribution: 'zulu'

- name: Gradle Build Action (tor)
uses: gradle/gradle-build-action@v2.8.0
with:
arguments: build --scan
build-root-directory: network/tor
gradle-executable: ./gradlew

build_wallet_module:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]

name: Build wallet module on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4.0.0

- name: Setup Java JDK
uses: actions/setup-java@v3.12.0
with:
java-version: '17'
distribution: 'zulu'

- name: Gradle Build Action (wallets)
uses: gradle/gradle-build-action@v2.8.0
with:
Expand Down