From 212a84a7df16f9cd0978452e4c15b486dbda72bf Mon Sep 17 00:00:00 2001 From: M0stafaRady Date: Wed, 16 Oct 2024 10:21:14 +0300 Subject: [PATCH] Add the CI --- .github/workflows/uvm_ci.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/uvm_ci.yaml diff --git a/.github/workflows/uvm_ci.yaml b/.github/workflows/uvm_ci.yaml new file mode 100644 index 0000000..b7253e4 --- /dev/null +++ b/.github/workflows/uvm_ci.yaml @@ -0,0 +1,26 @@ +name: Run UVM tests + +on: + push: # This now triggers on pushes to any branch + pull_request: # This now triggers on pull requests to any branch + +jobs: + Extract-Buses: + runs-on: ubuntu-latest + outputs: + IPs: ${{ steps.set-IPs-matrix.outputs.IPs }} + buses: ${{ steps.extract_buses.outputs.buses }} + steps: + - name: Extract Supported Buses + id: extract_buses + uses: efabless/EF_UVM/.github/actions/get-bus@main + - name: Check Output + run: echo ${{ steps.extract_buses.outputs.buses }} + Run-IP-Tests: + uses: efabless/EF_UVM/.github/workflows/run_IP.yaml@main + needs: [Extract-Buses] + with: + test-names: "all_tests" + name: ${{ github.event.repository.name }} + buses: ${{ needs.Extract-Buses.outputs.buses }} + is-ip: true \ No newline at end of file