From 91e28d1f76a115545af52629c735a583989e3447 Mon Sep 17 00:00:00 2001 From: Takashi Mori Date: Sat, 30 Dec 2023 19:14:18 +0900 Subject: [PATCH] add macos --- .github/workflows/build-macos.yml | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/build-macos.yml diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml new file mode 100644 index 0000000..e7fff1c --- /dev/null +++ b/.github/workflows/build-macos.yml @@ -0,0 +1,44 @@ +name: build-macos + +on: + push: + branches: [ main ] + +jobs: + build: + runs-on: macos-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: Install Dependencies and Build hakoniwa-core-cpp-client + run: | + brew install python3 + mkdir -p ${HOME}/lib/hakoniwa/ + 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