diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml new file mode 100644 index 0000000..4ecaeb4 --- /dev/null +++ b/.github/workflows/examples.yml @@ -0,0 +1,32 @@ +name: Examples + +on: [push, pull_request] + +jobs: + build: + strategy: + fail-fast: false + matrix: + os: [ubuntu-16.04, windows-latest, macos-latest] + python-version: [2.7, 3.7] + example: + - "examples/shakti-sdk_gpio-keypad" + - "examples/shakti-sdk_i2c-lm75" + - "examples/shakti-sdk_uart-hello" + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + with: + submodules: "recursive" + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -U https://github.com/platformio/platformio/archive/develop.zip + platformio platform install file://. + - name: Build examples + run: | + platformio run -d ${{ matrix.example }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 48287c0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -language: python -python: - - "2.7" - - "3.6" - -env: - - PLATFORMIO_PROJECT_DIR=examples/shakti-sdk_gpio-keypad - - PLATFORMIO_PROJECT_DIR=examples/shakti-sdk_i2c-lm75 - - PLATFORMIO_PROJECT_DIR=examples/shakti-sdk_uart-hello - -install: - - pip install -U https://github.com/platformio/platformio/archive/develop.zip - - platformio platform install file://. - -script: - - platformio run -d $PLATFORMIO_PROJECT_DIR - -notifications: - email: false - - slack: - rooms: - secure: EfWz/KfPs3PK1KhyZ+hyhHTWqh48TqSzt7X2nJ37oB42dZ97VxRV+ILcHK8NRz4FwO2dr++qKG2UD+tTiq4z8nCeXRfeWW8gUA5C/hNjuHEWq4jJ2ehajDI4b9uSasJdiBV4qo1CqSr3VU71qbhJcMRiorOPi9MN42YZ1hKCbyih9VArPVFA0ua3a4oORvARFDUe3aJW1xAwLFE1M1z1YylbUm55HkucTXV0g1EBn4gI6irIiHyopzo0DJz+NLSYShBO/g0P2EKpbWX9VhKuWFlbHn5IDzU5AQzbd4+3TtrW0uRNDEVeSjaHQwmEPwArukq4qbk9XZWPh7LuGD6NXvYieMjKAQtwFUyJDomIRT+KPrCfvJ96+HzhGJIElHT640vyrBLwL5vpyO8qEBukBqEWjbUaeshIVHZgC22/LrNSq0TnPz54c+ix0Zz1eG2lJU5a70R6Ai8skcZ6M34c/e8YR0ddtgrSI020iNchunbti6rXf5VTnhpgvGjSYV2z109aEjdXFq6hFruixm2tYE/Mcj+6V775+nBKCrZ/MYQ7zDGHAgKNC8OjM51LV4emmc7rVD8W5M0ZD6gjDLWKZMKTkqRV+cJmCL9eY8tsj/bLSfsXWl2MDIS6KtXKZY4SAxZb3Ul75hnl3r+HJ4iFql+N512tE86IdL3ixWqsYqs= - on_failure: always - on_success: change diff --git a/README.md b/README.md index 89f026d..19b32f8 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Shakti: development platform for [PlatformIO](http://platformio.org) -[![Build Status](https://travis-ci.org/platformio/platform-shakti.svg?branch=develop)](https://travis-ci.org/platformio/platform-shakti) -[![Build status](https://ci.appveyor.com/api/projects/status/pm59mq539ttp51hd/branch/develop?svg=true)](https://ci.appveyor.com/project/ivankravets/platform-shakti/branch/develop) -Shakti is an open-source initiative by the RISE group at IIT-Madras, which is not only building open source, production grade processors, but also associated components like interconnect fabrics, verification tools, storage controllers, peripheral IPs and SOC tools. +[![Build Status](https://github.com/platformio/platform-shakti/workflows/Examples/badge.svg)](https://github.com/platformio/platform-shakti/actions) + +Shakti is an open-source initiative by the RISE group at IIT-Madras, which is not only building open source, production grade processors, but also associated components like interconnect fabrics, verification tools, storage controllers, peripheral IPs and SOC tools. * [Home](http://platformio.org/platforms/shakti) (home page in PlatformIO Platform Registry) * [Documentation](http://docs.platformio.org/page/platforms/shakti.html) (advanced usage, packages, boards, frameworks, etc.) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index d5e7223..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,24 +0,0 @@ -build: off -environment: - - matrix: - - PLATFORMIO_PROJECT_DIR: "examples/shakti-sdk_gpio-keypad" - - PLATFORMIO_PROJECT_DIR: "examples/shakti-sdk_i2c-lm75" - - PLATFORMIO_PROJECT_DIR: "examples/shakti-sdk_uart-hello" - -install: -- cmd: git submodule update --init --recursive -- cmd: SET PATH=C:\Python36\Scripts;%PATH% -- cmd: pip install -U https://github.com/platformio/platformio/archive/develop.zip -- cmd: platformio platform install file://. - -test_script: -- cmd: platformio run -d %PLATFORMIO_PROJECT_DIR% - -notifications: - - provider: Slack - incoming_webhook: - secure: E9H0SU0Ju7WLDvgxsV8cs3J62T3nTTX7QkEjsczN0Sto/c9hWkVfhc5gGWUkxhlD975cokHByKGJIdwYwCewqOI+7BrcT8U+nlga4Uau7J8= - on_build_success: false - on_build_failure: true - on_build_status_changed: true diff --git a/platform.json b/platform.json index ac75b4e..d31d577 100644 --- a/platform.json +++ b/platform.json @@ -12,7 +12,7 @@ "type": "git", "url": "https://github.com/platformio/platform-shakti.git" }, - "version": "1.0.1", + "version": "1.0.2", "packageRepositories": [ "https://dl.bintray.com/platformio/dl-packages/manifest.json", "http://dl.platformio.org/packages/manifest.json" @@ -20,7 +20,10 @@ "frameworks": { "shakti-sdk": { "package": "framework-shakti-sdk", - "script": "builder/frameworks/shakti-sdk.py" + "script": "builder/frameworks/shakti-sdk.py", + "description": "A software development kit for developing applications on Shakti class of processors", + "url": "https://gitlab.com/shaktiproject/software/shakti-sdk", + "title": "Shakti SDK" } }, "packages": {