-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.18 KB
/
build-ubuntu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: build-ubuntu
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Install latest rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
override: true
- name: Create directories and Install Dependencies
run: |
sudo mkdir -p /usr/local/lib/hakoniwa/
sudo chown $USER /usr/local/lib/hakoniwa/
sudo apt-get update
sudo apt-get install -y libc++-dev libc++abi-dev libpython3-dev
git clone --recursive https://github.com/toppers/hakoniwa-core-cpp-client.git
cd hakoniwa-core-cpp-client
# ここで必要に応じてビルドスクリプトを修正
bash build.bash
bash install.bash
- name: Build hakoniwa-conductor
run: |
cd main
bash build.bash