mirror of
https://github.com/lupyuen/nuttx-ox64.git
synced 2025-01-12 20:58:31 +08:00
Echo commands
This commit is contained in:
parent
d06d1b3f2b
commit
b96459f8f1
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ox64-special.yml
vendored
11
.github/workflows/ox64-special.yml
vendored
|
@ -25,6 +25,8 @@ jobs:
|
|||
|
||||
- name: Checkout Source Files
|
||||
run: |
|
||||
set -x # Echo commands
|
||||
|
||||
## TODO: Paste the GitHub Repo and Branch
|
||||
source=https://github.com/apache/nuttx/tree/master
|
||||
|
||||
|
@ -47,6 +49,7 @@ jobs:
|
|||
|
||||
- name: Install Build Tools
|
||||
run: |
|
||||
set -x # Echo commands
|
||||
sudo apt -y update
|
||||
sudo apt -y install \
|
||||
bison flex gettext texinfo libncurses5-dev libncursesw5-dev \
|
||||
|
@ -58,11 +61,14 @@ jobs:
|
|||
|
||||
- name: Install Toolchain
|
||||
run: |
|
||||
set -x # Echo commands
|
||||
wget --no-check-certificate https://static.dev.sifive.com/dev-tools/freedom-tools/v2020.12/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz
|
||||
tar -xf riscv64-unknown-elf-toolchain*.tar.gz
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
set -x # Echo commands
|
||||
|
||||
## Add toolchain to PATH
|
||||
export PATH=$PATH:$PWD/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin
|
||||
cd nuttx/nuttx
|
||||
|
@ -185,22 +191,26 @@ jobs:
|
|||
|
||||
- name: Install Emulator Build Tools
|
||||
run: |
|
||||
set -x # Echo commands
|
||||
sudo apt -y update
|
||||
sudo apt -y install \
|
||||
expect libcurl4-openssl-dev libssl-dev zlib1g-dev libsdl2-dev wget
|
||||
|
||||
- name: Checkout Emulator Source Files
|
||||
run: |
|
||||
set -x # Echo commands
|
||||
git clone https://github.com/lupyuen/ox64-tinyemu
|
||||
|
||||
- name: Build Ox64 BL808 Emulator
|
||||
run: |
|
||||
set -x # Echo commands
|
||||
cd ox64-tinyemu
|
||||
make
|
||||
cp temu ..
|
||||
|
||||
- name: Download Test Script
|
||||
run: |
|
||||
set -x # Echo commands
|
||||
cd nuttx/nuttx
|
||||
cp ../../temu .
|
||||
wget https://github.com/lupyuen/nuttx-ox64/raw/main/nuttx.cfg
|
||||
|
@ -211,5 +221,6 @@ jobs:
|
|||
|
||||
- name: Run Test
|
||||
run: |
|
||||
set -x # Echo commands
|
||||
cd nuttx/nuttx
|
||||
./nuttx.exp
|
||||
|
|
Loading…
Reference in a new issue