forked from dmlc/xgboost
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unneeded matrix; set max-parallel
- Loading branch information
Showing
6 changed files
with
26 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,26 +15,20 @@ env: | |
jobs: | ||
build-containers: | ||
name: Build CI containers (${{ matrix.container_id }}) | ||
name: Build CI containers | ||
env: | ||
CONTAINER_ID: xgb-ci.clang_tidy | ||
runs-on: | ||
- runs-on=${{ github.run_id }} | ||
- runner=${{ matrix.runner }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- container_id: xgb-ci.clang_tidy | ||
runner: linux-amd64-cpu | ||
- runner=linux-amd64-cpu | ||
steps: | ||
# Restart Docker daemon so that it recognizes the ephemeral disks | ||
- run: sudo systemctl restart docker | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: "true" | ||
- name: Build ${{ matrix.container_id }} | ||
- name: Build ${{ env.CONTAINER_ID }} | ||
run: bash ops/docker_build.sh | ||
env: | ||
CONTAINER_ID: ${{ matrix.container_id }} | ||
|
||
clang-tidy: | ||
name: Run clang-tidy | ||
|
@@ -106,32 +100,25 @@ jobs: | |
bash ops/script/lint_cmake.sh | ||
lintr: | ||
runs-on: ${{ matrix.os }} | ||
name: Run R linters on OS ${{ matrix.os }}, R ${{ matrix.r }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- os: ubuntu-latest | ||
r: "release" | ||
runs-on: ubuntu-latest | ||
name: Run R linters on Ubuntu | ||
env: | ||
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: 'true' | ||
|
||
- uses: r-lib/actions/[email protected] | ||
with: | ||
r-version: ${{ matrix.r }} | ||
r-version: "release" | ||
|
||
- name: Cache R packages | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ env.R_LIBS_USER }} | ||
key: ${{ runner.os }}-r-${{ matrix.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }} | ||
restore-keys: ${{ runner.os }}-r-${{ matrix.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }} | ||
key: ${{ runner.os }}-r-release-7-${{ hashFiles('R-package/DESCRIPTION') }} | ||
restore-keys: ${{ runner.os }}-r-release-7-${{ hashFiles('R-package/DESCRIPTION') }} | ||
|
||
- name: Install dependencies | ||
shell: Rscript {0} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,11 +16,7 @@ env: | |
jobs: | ||
gtest-cpu: | ||
name: Test Google C++ test (CPU) | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-13] | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -42,11 +38,7 @@ jobs: | |
gtest-cpu-nonomp: | ||
name: Test Google C++ unittest (CPU Non-OMP) | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -68,15 +60,10 @@ jobs: | |
c-api-demo: | ||
name: Test installing XGBoost lib + building the C API demo | ||
runs-on: ${{ matrix.os }} | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest"] | ||
python-version: ["3.10"] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,8 @@ concurrency: | |
|
||
jobs: | ||
python-sdist-test-on-Linux: | ||
runs-on: ${{ matrix.os }} | ||
name: Test installing XGBoost Python source package on ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
runs-on: ubuntu-latest | ||
name: Test installing XGBoost Python source package | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -85,14 +81,9 @@ jobs: | |
python -c 'import xgboost' | ||
python-tests-on-macos: | ||
name: Test XGBoost Python package on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
name: Test XGBoost Python package on macos-13 | ||
runs-on: macos-13 | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-13] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -138,13 +129,8 @@ jobs: | |
pytest -s -v -rxXs --durations=0 ./tests/test_distributed/test_with_dask | ||
python-system-installation-on-ubuntu: | ||
name: Test XGBoost Python package System Installation on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
||
name: Test XGBoost Python package System Installation on Ubuntu | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,7 @@ env: | |
jobs: | ||
gtest-cpu-sycl: | ||
name: Test Google C++ unittest (CPU SYCL) | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -53,14 +49,9 @@ jobs: | |
./testxgboost | ||
python-sycl-tests-on-ubuntu: | ||
name: Test XGBoost Python package with SYCL on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
name: Test XGBoost Python package with SYCL | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 90 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|