Skip to content

Commit

Permalink
Merge pull request #41 from minhanghuang/arm-ci
Browse files Browse the repository at this point in the history
docs: update readme
  • Loading branch information
minhanghuang authored Jul 30, 2023
2 parents 1d01126 + c57527a commit 292a62b
Show file tree
Hide file tree
Showing 8 changed files with 152 additions and 45 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/ubuntu-latest-v8.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
name: ubuntu-latest v8.0.0 build
run-name: CyberRT v8.0.0 build runner on ubuntu latest 🚀
name: ubuntu-latest v8.0.0 build x86-64
run-name: CyberRT v8.0.0 build runner on ubuntu latest x86-64🚀

on:
pull_request:
branches:
- master
push:
paths:
- 'cmake/**'
- 'cyber/**'
- 'modules/**'
- 'CMakeLists.txt'
- 'scripts/**'
- '.github/workflows/ubuntu-latest-v8.0.0-build.yaml'
- v8.0.0

jobs:
build-amd-ubuntu22:
Expand All @@ -23,13 +15,19 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Install
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
cd /workspace/${{ github.repository }} && ./scripts/install.sh
- name: Build
run: |
echo "-----------------------"
uname -a
lsb_release -a
echo "-----------------------"
bash -c "cd /workspace/${{ github.repository }} && source install/setup.bash && mkdir -p build && cd build && cmake .. && make -j$(nproc)"
34 changes: 34 additions & 0 deletions .github/workflows/ubuntu18-arrch64-v8.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: ubuntu18.04 v8.0.0 build arrch64
run-name: CyberRT v8.0.0 build runner on ubuntu18 arrch64🚀

on:
pull_request:
branches:
- v8.0.0

jobs:
build-arm-ubuntu18:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
name: Run commands
env:
DEBIAN_FRONTEND: noninteractive
id: runcmd
with:
arch: aarch64
distro: ubuntu18.04

install: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
git clone --depth 1 --single-branch --branch v8.0.0 https://github.com/minhanghuang/CyberRT.git /root/workspace
run: |
echo "-----------------------"
uname -a
lsb_release -a
echo "-----------------------"
cd /root/workspace && ./scripts/install.sh
bash -c "cd /root/workspace && source install/setup.bash && mkdir -p build && cd build && cmake .. && make -j$(nproc)"
17 changes: 12 additions & 5 deletions .github/workflows/ubuntu18-v8.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
name: ubuntu18.04 v8.0.0 build
run-name: CyberRT v8.0.0 build runner on ubuntu18 🚀
name: ubuntu18.04 v8.0.0 build x86-64
run-name: CyberRT v8.0.0 build runner on ubuntu18 x86-64🚀

on:
pull_request:
branches:
- master
- v8.0.0

push:
paths:
- 'cmake/**'
- 'cyber/**'
- 'modules/**'
- 'CMakeLists.txt'
- 'scripts/**'
- '.github/workflows/ubuntu18-v8.0.0-build.yaml'
- '.github/workflows/*.yaml'

jobs:
build-amd-ubuntu18:
Expand All @@ -23,13 +24,19 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Install
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
cd /workspace/${{ github.repository }} && ./scripts/install.sh
- name: Build
run: |
echo "-----------------------"
uname -a
lsb_release -a
echo "-----------------------"
bash -c "cd /workspace/${{ github.repository }} && source install/setup.bash && mkdir -p build && cd build && cmake .. && make -j$(nproc)"
35 changes: 35 additions & 0 deletions .github/workflows/ubuntu20-arrch64-v8.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: ubuntu20.04 v8.0.0 build arrch64
run-name: CyberRT v8.0.0 build runner on ubuntu20 arrch64 🚀

on:
pull_request:
branches:
- v8.0.0

jobs:
build-arm-ubuntu20:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
name: Run commands
env:
DEBIAN_FRONTEND: noninteractive
id: runcmd
with:
arch: aarch64
distro: ubuntu20.04

install: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
git clone --depth 1 --single-branch --branch v8.0.0 https://github.com/minhanghuang/CyberRT.git /root/workspace
run: |
echo "-----------------------"
uname -a
lsb_release -a
echo "-----------------------"
cd /root/workspace && ./scripts/install.sh
bash -c "cd /root/workspace && source install/setup.bash && mkdir -p build && cd build && cmake .. && make -j$(nproc)"
22 changes: 10 additions & 12 deletions .github/workflows/ubuntu20-v8.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
name: ubuntu20.04 v8.0.0 build
run-name: CyberRT v8.0.0 build runner on ubuntu20 🚀
name: ubuntu20.04 v8.0.0 build x86-64
run-name: CyberRT v8.0.0 build runner on ubuntu20 x86-64🚀

on:
pull_request:
branches:
- master
push:
paths:
- 'cmake/**'
- 'cyber/**'
- 'modules/**'
- 'CMakeLists.txt'
- 'scripts/**'
- '.github/workflows/ubuntu20-v8.0.0-build.yaml'
- v8.0.0

jobs:
build-amd-ubuntu20:
Expand All @@ -23,13 +15,19 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Install
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
cd /workspace/${{ github.repository }} && ./scripts/install.sh
- name: Build
run: |
echo "-----------------------"
uname -a
lsb_release -a
echo "-----------------------"
bash -c "cd /workspace/${{ github.repository }} && source install/setup.bash && mkdir -p build && cd build && cmake .. && make -j$(nproc)"
34 changes: 34 additions & 0 deletions .github/workflows/ubuntu22-arrch64-v8.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: ubuntu22.04 v8.0.0 build arrch64
run-name: CyberRT v8.0.0 build runner on ubuntu22 arrch64🚀

on:
pull_request:
branches:
- v8.0.0

jobs:
build-arm-ubuntu22:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
name: Run commands
env:
DEBIAN_FRONTEND: noninteractive
id: runcmd
with:
arch: aarch64
distro: ubuntu22.04

install: |
apt update
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
git clone --depth 1 --single-branch --branch v8.0.0 https://github.com/minhanghuang/CyberRT.git /root/workspace
run: |
echo "-----------------------"
uname -a
lsb_release -a
echo "-----------------------"
cd /root/workspace && ./scripts/install.sh
bash -c "cd /root/workspace && source install/setup.bash && mkdir -p build && cd build && cmake .. && make -j$(nproc)"
22 changes: 10 additions & 12 deletions .github/workflows/ubuntu22-v8.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
name: ubuntu22.04 v8.0.0 build
run-name: CyberRT v8.0.0 build runner on ubuntu22 🚀
name: ubuntu22.04 v8.0.0 build x86-64
run-name: CyberRT v8.0.0 build runner on ubuntu22 x86-64🚀

on:
pull_request:
branches:
- master
push:
paths:
- 'cmake/**'
- 'cyber/**'
- 'modules/**'
- 'CMakeLists.txt'
- 'scripts/**'
- '.github/workflows/ubuntu22-v8.0.0-build.yaml'
- v8.0.0

jobs:
build-amd-ubuntu22:
Expand All @@ -23,13 +15,19 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Install
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
apt install -y lsb-release git wget pkg-config g++ cmake libpoco-dev uuid-dev libncurses5-dev python3-dev
cd /workspace/${{ github.repository }} && ./scripts/install.sh
- name: Build
run: |
echo "-----------------------"
uname -a
lsb_release -a
echo "-----------------------"
bash -c "cd /workspace/${{ github.repository }} && source install/setup.bash && mkdir -p build && cd build && cmake .. && make -j$(nproc)"
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@

| Target | Status |
| ------------- | :-----:|
| Ubuntu18.04 | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu18-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu18-v8.0.0-build.yaml) |
| Ubuntu20.04 | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu20-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu20-v8.0.0-build.yaml) |
| Ubuntu22.04 | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu22-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu22-v8.0.0-build.yaml) |
| Ubuntu latest | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu-latest-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu-latest-v8.0.0-build.yaml) |
| Ubuntu18.04 x86-64 | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu18-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu18-v8.0.0-build.yaml) |
| Ubuntu20.04 x86-64 | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu20-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu20-v8.0.0-build.yaml) |
| Ubuntu22.04 x86-64 | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu22-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu22-v8.0.0-build.yaml) |
| Ubuntu latest x86-64 | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu-latest-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu-latest-v8.0.0-build.yaml) |
| Ubuntu18.04 arrch64 | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu18-arrch64-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu18-arrch64-v8.0.0-build.yaml) |
| Ubuntu20.04 arrch64 | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu20-arrch64-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu20-arrch64-v8.0.0-build.yaml) |
| Ubuntu22.04 arrch64 | [![build v8.0.0](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu22-arrch64-v8.0.0-build.yaml/badge.svg?branch=v8.0.0)](https://github.com/minhanghuang/CyberRT/actions/workflows/ubuntu22-arrch64-v8.0.0-build.yaml) |

## #1 Env

Expand Down

0 comments on commit 292a62b

Please sign in to comment.