Skip to content

Frontier Benchmarking (#453) #2482

Frontier Benchmarking (#453)

Frontier Benchmarking (#453) #2482

Workflow file for this run

name: 'Test Suite'
on: [push, pull_request, workflow_dispatch]
jobs:
file-changes:
name: Detect File Changes
runs-on: 'ubuntu-latest'
outputs:
checkall: ${{ steps.changes.outputs.checkall }}
steps:
- name: Clone
uses: actions/checkout@v4
- name: Detect Changes
uses: dorny/paths-filter@v3
id: changes
with:
filters: ".github/file-filter.yml"
self:
name: Self Hosted
if: github.repository == 'MFlowCode/MFC' && needs.file-changes.outputs.checkall == 'true'
needs: file-changes
continue-on-error: false
timeout-minutes: 1400
strategy:
matrix:
device: ['cpu', 'gpu']
lbl: ['gt', 'frontier']
runs-on:
group: phoenix
labels: ${{ matrix.lbl }}
env:
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- name: Clone
uses: actions/checkout@v4
- name: Build & Test
if: matrix.lbl == 'gt'
run: bash .github/workflows/phoenix/submit.sh .github/workflows/phoenix/test.sh ${{ matrix.device }}
- name: Build
if: matrix.lbl == 'frontier'
run: bash .github/workflows/frontier/build.sh ${{ matrix.device }}
- name: Test
if: matrix.lbl == 'frontier'
run: bash .github/workflows/frontier/submit.sh .github/workflows/frontier/test.sh ${{matrix.device}}
- name: Print Logs
if: always()
run: cat test-${{ matrix.device }}.out
- name: Archive Logs
uses: actions/upload-artifact@v4
if: always()
with:
name: logs-${{ strategy.job-index }}-${{ matrix.device }}
path: test-${{ matrix.device }}.out