Skip to content

Commit

Permalink
test wfd override
Browse files Browse the repository at this point in the history
  • Loading branch information
nitzmahone committed May 15, 2024
1 parent b9e3fe5 commit e167d7c
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@ on:
skip_artifact_upload:
type: boolean
default: true
skip_ci_redundant_jobs:
type: boolean
default: true
skip_slow_jobs:
type: boolean
default: true

env:
LIBYAML_REPO: https://github.com/yaml/libyaml
LIBYAML_REF: 0.2.5
skip_ci_redundant_jobs: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
skip_slow_jobs: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
skip_ci_redundant_jobs: ${{ inputs.skip_ci_redundant_jobs || github.event_name == 'pull_request' || github.event_name == 'push' }}
skip_slow_jobs: ${{ inputs.skip_slow_jobs || github.event_name == 'pull_request' || github.event_name == 'push' }}
skip_artifact_upload: ${{ inputs.skip_artifact_upload || true }} # ${{ github.event_name == 'pull_request' }}

jobs:
Expand All @@ -24,7 +30,7 @@ jobs:
# runs-on: ubuntu-22.04
# steps:
# - name: Checkout PyYAML
# uses: actions/checkout@v3
# uses: actions/checkout@v4
#
# - name: Install a python
# uses: actions/setup-python@v4
Expand Down Expand Up @@ -88,7 +94,7 @@ jobs:
steps:
- name: Check cached libyaml state
id: cached_libyaml
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: libyaml
key: libyaml_${{matrix.cfg.platform}}_${{matrix.cfg.arch}}_${{env.LIBYAML_REF}}
Expand All @@ -98,7 +104,7 @@ jobs:
if: matrix.cfg.arch != 'x86_64' && steps.cached_libyaml.outputs.cache-hit != 'true'

- name: Checkout pyyaml
uses: actions/checkout@v3
uses: actions/checkout@v4
if: steps.cached_libyaml.outputs.cache-hit != 'true'

- name: Build libyaml
Expand Down Expand Up @@ -170,7 +176,7 @@ jobs:

steps:
- name: Checkout PyYAML
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Fetch cached libyaml
id: cached_libyaml
Expand Down Expand Up @@ -230,13 +236,13 @@ jobs:
# steps:
# - name: Check cached libyaml state
# id: cached_libyaml
# uses: actions/cache@v3
# uses: actions/cache@v4
# with:
# path: libyaml
# key: libyaml_macos_${{matrix.arch}}_${{env.LIBYAML_REF}}
#
# - name: Checkout PyYAML
# uses: actions/checkout@v3
# uses: actions/checkout@v4
# if: steps.cached_libyaml.outputs.cache-hit != 'true'
#
# - name: Build libyaml
Expand Down Expand Up @@ -305,7 +311,7 @@ jobs:
#
# steps:
# - name: Checkout PyYAML
# uses: actions/checkout@v3
# uses: actions/checkout@v4
#
# - name: Get cached libyaml state
# id: cached_libyaml
Expand Down Expand Up @@ -352,7 +358,7 @@ jobs:
# steps:
# - name: Get cached libyaml state
# id: cached_libyaml
# uses: actions/cache@v3
# uses: actions/cache@v4
# with:
# path: libyaml
# key: libyaml_${{matrix.platform}}_${{matrix.arch}}_${{env.LIBYAML_REF}}
Expand Down Expand Up @@ -443,7 +449,7 @@ jobs:
# git config --global core.eol lf
#
# - name: Checkout pyyaml
# uses: actions/checkout@v3
# uses: actions/checkout@v4
#
# - name: Get cached libyaml state
# id: cached_libyaml
Expand Down

0 comments on commit e167d7c

Please sign in to comment.