Skip to content
23 changes: 16 additions & 7 deletions .github/workflows/root-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:

runs-on: # Using '[self-hosted, ..., ...]' does not work for some reason :)
- self-hosted
- macOS
- macOS-VM
- ${{ matrix.arch }}
- ${{ matrix.platform }}

Expand Down Expand Up @@ -159,15 +159,21 @@ jobs:
with:
build-directory: /Users/sftnight/ROOT-CI/src/

- name: what am i
env:
HOME: /Users/sftnight
shell: bash -leo pipefail {0}
run: "whoami && env && echo $0 && echo $SHELL && pwd && python3 -m site && which python3 && echo $PATH"
- name: Set up curl CA bundle for Davix to work with https
run: 'echo SSL_CERT_FILE=/opt/local/share/curl/curl-ca-bundle.crt >> $GITHUB_ENV'

run: 'echo SSL_CERT_FILE=/opt/local/share/curl/curl-ca-bundle.crt >> $GITHUB_ENV'
- name: Pull Request Build
shell: bash -leo pipefail {0}
if: github.event_name == 'pull_request'
env:
HOME: /Users/sftnight
INCREMENTAL: ${{ !contains(github.event.pull_request.labels.*.name, 'clean build') }}
GITHUB_PR_ORIGIN: ${{ github.event.pull_request.head.repo.clone_url }}
run: ".github/workflows/root-ci-config/build_root.py
run: ".github/workflows/root-ci-config/build_root.py
--buildtype RelWithDebInfo
--incremental $INCREMENTAL
--base_ref ${{ github.base_ref }}
Expand All @@ -179,8 +185,9 @@ jobs:
--platform ${{ matrix.platform }}"

- name: Workflow dispatch
shell: bash -leo pipefail {0}
if: ${{ github.event_name == 'workflow_dispatch' && !matrix.is_special }}
run: ".github/workflows/root-ci-config/build_root.py
run: ".github/workflows/root-ci-config/build_root.py
--buildtype ${{ inputs.buildtype }}
--platform ${{ matrix.platform }}
--incremental ${{ inputs.incremental }}
Expand All @@ -190,8 +197,9 @@ jobs:
--repository ${{ github.server_url }}/${{ github.repository }}"

- name: Nightly build
shell: bash -leo pipefail {0}
if: github.event_name == 'schedule'
run: ".github/workflows/root-ci-config/build_root.py
run: ".github/workflows/root-ci-config/build_root.py
--buildtype Release
--platform ${{ matrix.platform }}
--incremental false
Expand All @@ -200,8 +208,9 @@ jobs:
--repository ${{ github.server_url }}/${{ github.repository }}"

- name: Update build cache after push to release branch
shell: bash -leo pipefail {0}
if: github.event_name == 'push'
run: ".github/workflows/root-ci-config/build_root.py
run: ".github/workflows/root-ci-config/build_root.py
--buildtype RelWithDebInfo
--platform ${{ matrix.platform }}
--incremental false
Expand Down
Loading