Skip to content

Commit

Permalink
Merge pull request #20 from elbeno/update-from-cicd
Browse files Browse the repository at this point in the history
⬆️ 👷 Update workflow from upstream
  • Loading branch information
elbeno authored Oct 12, 2023
2 parents 4de880e + d3df431 commit 870534d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/asciidoctor-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
configure:
name: Configure Github Pages Publishing
runs-on: intel-ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
outputs:
enable_publish: ${{ steps.check.outputs.isfork == 'NO' }}
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
build:
needs: configure
name: Build Documentation
runs-on: intel-ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
steps:
- name: Checkout source
uses: actions/checkout@v4
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
environment:
name: github-pages
url: $${{ steps.deployment.outputs.page_url }}
runs-on: intel-ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
steps:
- name: Deploy to github pages
id: deployment
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:

jobs:
build_and_test:
runs-on: intel-ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
run: ctest -j $(nproc) -C ${{matrix.build_type}}

quality_checks_pass:
runs-on: intel-ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand All @@ -147,7 +147,7 @@ jobs:
run: cmake --build ${{github.workspace}}/build -t quality

sanitize:
runs-on: intel-ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand All @@ -172,7 +172,7 @@ jobs:
run: cmake --build ${{github.workspace}}/build -t unit_tests

valgrind:
runs-on: intel-ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
test $FAILSIZE = "0"
merge_ok:
runs-on: intel-ubuntu-22.04
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04
needs: [build_and_test, quality_checks_pass, sanitize, valgrind]
if: ${{ always() }}
steps:
Expand Down

0 comments on commit 870534d

Please sign in to comment.