| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- name: rtt-w60x
- on: [push,pull_request]
- jobs:
- build:
- runs-on: ubuntu-18.04
- steps:
- - uses: actions/checkout@v1
- - name: prepare software
- run: |
- sudo apt-get update
- sudo apt-get install git gcc-multilib libc6 libgcc1 libstdc++5 libstdc++6 libsdl-dev scons -y
- sudo apt-get install libncurses5-dev -y
- sudo pip install requests
- wget https://github.com/openLuat/LuatOS/releases/download/v0.0.1/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
- sudo tar xjf gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 -C /opt
- /opt/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc --version
- - name: update submodule
- run: |
- git submodule init
- git submodule update
- - name: prepare packages
- run: |
- cd bsp/w60x
- export RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-6-2017-q2-update/bin
- echo | scons --menuconfig
- source ~/.env/env.sh
- pkgs --update
- chmod 755 -R packages/wm_libraries-latest/Tools/
- - name: make
- run: |
- cd bsp/w60x
- scons -j2
- - name: Upload artifact
- uses: actions/upload-artifact@v1
- with:
- name: w60x
- path: bsp/w60x/Bin/
|