Add BSP reading #116
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install ninja | |
run: sudo apt install ninja-build | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Configure G++ version | |
run: | | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 10 | |
sudo update-alternatives --set gcc "/usr/bin/gcc-12" | |
sudo update-alternatives --set g++ "/usr/bin/g++-12" | |
- name: Display G++ version | |
run: g++ --version | |
- name: Configure ninja | |
run: ./configure.py | |
- name: Compile | |
run: ninja | |
- name: Upload result | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Kinoko | |
path: out |