Skip to content

fix(CMSIS): Share multi core data 7800x when using RISCV_LOAD (#1568) #455

fix(CMSIS): Share multi core data 7800x when using RISCV_LOAD (#1568)

fix(CMSIS): Share multi core data 7800x when using RISCV_LOAD (#1568) #455

Workflow file for this run

name: Publish MSDK HAL Export for Zephyr
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Controls when the workflow will run
on:
push:
branches:
- main # We only run this to sync `main` to the `msdk-export` branch of the HAL.
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
sync_missing_commits:
# The type of OS that the job will run on
runs-on: "ubuntu-latest"
permissions:
# This will depend on permissions set by repo and org (separate levels of permissions)
contents: write
pull-requests: write
steps:
# Checkout msdk repository
- name: Checkout msdk repository
uses: actions/checkout@v4
with:
ref: ''
ssh-key: ${{ secrets.MSDK_SSH_KEY }}
repository: ${{ github.repository }}
fetch-depth: 0
path: msdk
# Checkout hal_adi repository
- name: Checkout zephry hal repository
uses: actions/checkout@v4
with:
ref: 'develop'
ssh-key: ${{ secrets.MSDK_SSH_KEY }}
repository: 'analogdevicesinc/hal_adi'
fetch-depth: 0
path: hal_adi
- name: Copy necessary files from msdk to hal_adi
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
# Call or run any tasks here
# The working directory for scripts will be the root of the runner workspace.
# Using the checkout commands above, the script will start out in the same
# directory that contains the 'msdk' and 'hal_adi' folders.
bash ./msdk/.github/workflows/scripts/zephyr_hal_sync.sh
- name: Push changes to hal_adi repository
run: |
cd ./hal_adi
git push --set-upstream origin msdk-export