Skip to content

Commit

Permalink
Test new fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Nov 19, 2024
1 parent a7dce8e commit 4094c1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,31 @@ concurrency:

jobs:
skip_checks:
name: Skip
name: Analyze PR
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Analyze PR
- name: Skip checks?
run: |
.github/workflows/scripts/check_diff.sh \
${{ github.event.pull_request.head.ref }} \
${{ github.event.pull_request.base.ref }} \
${{ github.event.pull_request.head.repo.clone_url }}
- name: Debug
run: echo "env.SKIP_CHECKS=${{ env.SKIP_CHECKS }}"
outputs:
skip: ${{ env.SKIP_CHECKS }}
build_appleclang:
name: AppleClang
runs-on: macos-latest
needs: skip_checks
#if: ${{ github.event.pull_request.draft == false && needs.skip_checks.outputs.skip == 'false' }}
if: ${{ github.event.pull_request.draft == false }}
if: ${{ github.event.pull_request.draft == false && needs.skip_checks.outputs.skip == 'false' }}
env:
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: TRUE
# For macOS, Ninja is slower than the default:
#CMAKE_GENERATOR: Ninja
steps:
- name: Debugging
run: echo "SKIP=${{ needs.skip_checks.outputs.skip }}"
- name: Checkout code
uses: actions/checkout@v4
- name: Install Python
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scripts/check_diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ cat check_diff.txt
# Set paths to ignore
paths_ignore=()
paths_ignore+=("Docs/")
paths_ignore+=(".github/")
paths_ignore+=(".azure-pipelines.yml")
#paths_ignore+=(".github/")
#paths_ignore+=(".azure-pipelines.yml")
echo "Paths to ignore:"
echo ${paths_ignore[@]}

Expand Down

0 comments on commit 4094c1f

Please sign in to comment.