Skip to content

Commit

Permalink
github: run CI action for gcc and clang
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
axel-h committed Apr 1, 2024
1 parent ad6d875 commit dd17585
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/sel4bench-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,18 @@ jobs:
fail-fast: false
matrix:
march: [armv7a, armv8a, nehalem, rv64imac]
compiler: [gcc, clang]
steps:
- name: Build
uses: seL4/ci-actions/sel4bench@master
with:
xml: ${{ needs.code.outputs.xml }}
march: ${{ matrix.march }}
compiler: ${{ matrix.compiler }}
- name: Upload images
uses: actions/upload-artifact@v4
with:
name: images-${{ matrix.march }}
name: images-${{ matrix.march }}-${{matrix.compiler}}
path: '*-images.tar.gz'

hw-run:
Expand All @@ -79,6 +81,9 @@ jobs:
- tx1
- tx2
- hifive
compiler:
- gcc
- clang
include:
- platform: pc99
req: skylake
Expand All @@ -101,7 +106,7 @@ jobs:
- name: Download image
uses: actions/download-artifact@v4
with:
name: images-${{ steps.plat.outputs.march }}
name: images-${{ steps.plat.outputs.march }}-${{matrix.compiler}}
- name: Run
uses: seL4/ci-actions/sel4bench-hw@master
with:
Expand All @@ -114,5 +119,5 @@ jobs:
uses: actions/upload-artifact@v4
with:
# funky expression below is to work around lack of ternary operator
name: sel4bench-results-${{ matrix.platform }}${{ matrix.req != '' && format('-{0}', matrix.req) || '' }}
name: sel4bench-results-${{ matrix.platform }}${{ matrix.req != '' && format('-{0}', matrix.req) || '' }}-${{matrix.compiler}}
path: '*.json'
21 changes: 13 additions & 8 deletions .github/workflows/sel4bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,18 @@ jobs:
fail-fast: false
matrix:
march: [armv7a, armv8a, nehalem, rv64imac]
compiler: [gcc, clang]
steps:
- name: Build
uses: seL4/ci-actions/sel4bench@master
with:
xml: ${{ needs.code.outputs.xml }}
march: ${{ matrix.march }}
compiler: ${{ matrix.compiler }}
- name: Upload images
uses: actions/upload-artifact@v4
with:
name: images-${{ matrix.march }}
name: images-${{ matrix.march }}-${{matrix.compiler}}
path: '*-images.tar.gz'

hw-run:
Expand All @@ -69,6 +71,9 @@ jobs:
- tx1
- tx2
- hifive
compiler:
- gcc
- clang
include:
- platform: pc99
req: skylake
Expand All @@ -91,7 +96,7 @@ jobs:
- name: Download image
uses: actions/download-artifact@v4
with:
name: images-${{ steps.plat.outputs.march }}
name: images-${{ steps.plat.outputs.march }}-${{matrix.compiler}}
- name: Run
uses: seL4/ci-actions/sel4bench-hw@master
with:
Expand All @@ -104,7 +109,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
# funky expression below is to work around lack of ternary operator
name: sel4bench-results-${{ matrix.platform }}${{ matrix.req != '' && format('-{0}', matrix.req) || '' }}
name: sel4bench-results-${{ matrix.platform }}${{ matrix.req != '' && format('-{0}', matrix.req) || '' }}-${{matrix.compiler}}
path: '*.json'

deploy:
Expand All @@ -129,23 +134,23 @@ jobs:
- name: Get results for web deployment (sabre)
uses: actions/download-artifact@v4
with:
name: sel4bench-results-sabre
name: sel4bench-results-sabre-gcc
- name: Get results for web deployment (haswell)
uses: actions/download-artifact@v4
with:
name: sel4bench-results-pc99-haswell3
name: sel4bench-results-pc99-haswell3-gcc
- name: Get results for web deployment (skylake)
uses: actions/download-artifact@v4
with:
name: sel4bench-results-pc99-skylake
name: sel4bench-results-pc99-skylake-gcc
- name: Get results for web deployment (tx1)
uses: actions/download-artifact@v4
with:
name: sel4bench-results-tx1
name: sel4bench-results-tx1-gcc
- name: Get results for web deployment (hifive)
uses: actions/download-artifact@v4
with:
name: sel4bench-results-hifive
name: sel4bench-results-hifive-gcc
- name: Generate web page
uses: seL4/ci-actions/sel4bench-web@master
with:
Expand Down

0 comments on commit dd17585

Please sign in to comment.