diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 00000000000..76c57a9a8bb --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,29 @@ +name: C/C++ CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the $default-branch branch + push: + branches: [ "next" ] + pull_request: + branches: [ "next" ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-22.04 + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + # Runs a single command using the runners shell + - name: check + run: | + echo Hello! + uname -a + pwd + ls -al diff --git a/source/board/eeprom.h b/source/board/eeprom.h index 3ef9e035218..e18e6c13a41 100644 --- a/source/board/eeprom.h +++ b/source/board/eeprom.h @@ -66,6 +66,8 @@ extern "C" { * address (offset) and data can be done in single I2C operation */ #define EEPROM_PAGE_SIZE (256U) +#define TEST_COMMIT_GITHUB + /** * \brief Temp write buffer to hold address offset and data for page write * operation - 2 bytes for offset and remaining for one page data