Convert ci-shark-ai.yml
to use pkgci_shark_ai.yml
so that we only build packages once
#7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2024 Advanced Micro Devices, Inc. | ||
# | ||
# Licensed under the Apache License v2.0 with LLVM Exceptions. | ||
# See https://llvm.org/LICENSE.txt for license information. | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
name: PkgCI | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
permissions: | ||
contents: read | ||
concurrency: | ||
# A PR number if a pull request and otherwise the commit hash. This cancels | ||
# queued and in-progress runs for the same PR (presubmit) or commit | ||
# (postsubmit). The workflow name is prepended to avoid conflicts between | ||
# different workflows. | ||
group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | ||
cancel-in-progress: true | ||
jobs: | ||
build_packages: | ||
Check failure on line 28 in .github/workflows/pkgci.yml
|
||
name: Build Packages | ||
uses: ./.github/workflows/build_packages.yml | ||
with: | ||
build_type: "dev" | ||
test_shark_ai: | ||
name: Test shark-ai | ||
needs: [build_packages] | ||
uses: ./.github/workflows/pkgci_shark_ai.yml |