Add CI #8
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install cmake | |
uses: jwlawson/[email protected] | |
- name: Install clang | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y clang llvm | |
- name: Install lld and ninja | |
run: | | |
sudo apt-get install -y lld ninja-build | |
- name: Cache Submodules | |
id: cache-submodules | |
uses: actions/cache@v4 | |
with: | |
path: deps | |
key: ${{ runner.os }}-cache-submodules | |
- name: Update Submodules | |
run: | |
git submodule update --init --recursive | |
git submodule update --recursive --remote | |