Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

CI

CI #1263

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
schedule:
# run CI every day even if no PRs/merges occur
- cron: '0 12 * * *'
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: deps
run: |
sudo pip install cmake-format black
- name: format
run: make format
build:
strategy:
matrix:
platform: ["ubuntu-latest", "macos-latest"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: build-xed
run: ./scripts/bootstrap.sh
- name: build
run: |
mkdir build && cd build
XED_DIR=../third_party/ cmake ..
cmake --build .
build-py:
strategy:
matrix:
platform: ["ubuntu-latest", "macos-latest"]
python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: build-xed
run: ./scripts/bootstrap.sh
- name: deps
run: python -m pip install wheel
- name: build
run: pip wheel . -w wheel/
manylinux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: manylinux
run: make manylinux