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
|
- name: Checkout Source Files
|
||||||
run: |
|
run: |
|
||||||
|
set -x # Echo commands
|
||||||
|
|
||||||
## TODO: Paste the GitHub Repo and Branch
|
## TODO: Paste the GitHub Repo and Branch
|
||||||
source=https://github.com/apache/nuttx/tree/master
|
source=https://github.com/apache/nuttx/tree/master
|
||||||
|
|
||||||
|
@ -47,6 +49,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install Build Tools
|
- name: Install Build Tools
|
||||||
run: |
|
run: |
|
||||||
|
set -x # Echo commands
|
||||||
sudo apt -y update
|
sudo apt -y update
|
||||||
sudo apt -y install \
|
sudo apt -y install \
|
||||||
bison flex gettext texinfo libncurses5-dev libncursesw5-dev \
|
bison flex gettext texinfo libncurses5-dev libncursesw5-dev \
|
||||||
|
@ -58,11 +61,14 @@ jobs:
|
||||||
|
|
||||||
- name: Install Toolchain
|
- name: Install Toolchain
|
||||||
run: |
|
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
|
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
|
tar -xf riscv64-unknown-elf-toolchain*.tar.gz
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
set -x # Echo commands
|
||||||
|
|
||||||
## Add toolchain to PATH
|
## Add toolchain to PATH
|
||||||
export PATH=$PATH:$PWD/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin
|
export PATH=$PATH:$PWD/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin
|
||||||
cd nuttx/nuttx
|
cd nuttx/nuttx
|
||||||
|
@ -185,22 +191,26 @@ jobs:
|
||||||
|
|
||||||
- name: Install Emulator Build Tools
|
- name: Install Emulator Build Tools
|
||||||
run: |
|
run: |
|
||||||
|
set -x # Echo commands
|
||||||
sudo apt -y update
|
sudo apt -y update
|
||||||
sudo apt -y install \
|
sudo apt -y install \
|
||||||
expect libcurl4-openssl-dev libssl-dev zlib1g-dev libsdl2-dev wget
|
expect libcurl4-openssl-dev libssl-dev zlib1g-dev libsdl2-dev wget
|
||||||
|
|
||||||
- name: Checkout Emulator Source Files
|
- name: Checkout Emulator Source Files
|
||||||
run: |
|
run: |
|
||||||
|
set -x # Echo commands
|
||||||
git clone https://github.com/lupyuen/ox64-tinyemu
|
git clone https://github.com/lupyuen/ox64-tinyemu
|
||||||
|
|
||||||
- name: Build Ox64 BL808 Emulator
|
- name: Build Ox64 BL808 Emulator
|
||||||
run: |
|
run: |
|
||||||
|
set -x # Echo commands
|
||||||
cd ox64-tinyemu
|
cd ox64-tinyemu
|
||||||
make
|
make
|
||||||
cp temu ..
|
cp temu ..
|
||||||
|
|
||||||
- name: Download Test Script
|
- name: Download Test Script
|
||||||
run: |
|
run: |
|
||||||
|
set -x # Echo commands
|
||||||
cd nuttx/nuttx
|
cd nuttx/nuttx
|
||||||
cp ../../temu .
|
cp ../../temu .
|
||||||
wget https://github.com/lupyuen/nuttx-ox64/raw/main/nuttx.cfg
|
wget https://github.com/lupyuen/nuttx-ox64/raw/main/nuttx.cfg
|
||||||
|
@ -211,5 +221,6 @@ jobs:
|
||||||
|
|
||||||
- name: Run Test
|
- name: Run Test
|
||||||
run: |
|
run: |
|
||||||
|
set -x # Echo commands
|
||||||
cd nuttx/nuttx
|
cd nuttx/nuttx
|
||||||
./nuttx.exp
|
./nuttx.exp
|
||||||
|
|
Loading…
Reference in a new issue