Merge pull request #43 from yamam/fix-mulhi #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
steps: | |
- name: Setup cmake | |
uses: jwlawson/[email protected] | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: true # Fetch athrill repo | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- name: Build athrill for Linux | |
if: " (matrix.os == 'ubuntu-20.04')" | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libspdlog-dev | |
cd hakoniwa-core-cpp-client | |
git submodule update --init --recursive | |
cd ../ | |
bash build.bash all | |
./athrill/bin/linux/athrill2 | |
- name: Build athrill for Mac | |
if: " (matrix.os == 'macos-latest') " | |
run: | | |
brew install spdlog | |
cd hakoniwa-core-cpp-client | |
git submodule update --init --recursive | |
cd ../ | |
bash build.bash all | |
cd build_linux | |
./athrill2 | |
# - name: Setup MinGW for Windows | |
# if: matrix.os == 'windows-latest' | |
# uses: egor-tensin/setup-mingw@v2 | |
# - name: Build athrill for Windows | |
# if: matrix.os == 'windows-latest' | |
# run: | | |
# mkdir build | |
# cd build | |
# cmake -G"MinGW Makefiles" .. | |
# make | |
# .\athrill2.exe |