CI #2568
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: | |
schedule: | |
# Daily at 8:11 | |
- cron: "11 8 * * *" | |
concurrency: | |
group: "dotfiles" | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
persist-credentials: false | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
- name: Install packages | |
run: brew bundle install | |
if: runner.os == 'macOS' | |
continue-on-error: true | |
- name: Install packages | |
run: sudo apt-get install -y zsh | |
if: runner.os == 'Linux' | |
- name: Bootstrap | |
run: python ./install | |
- name: Converge venvs | |
run: python -m pip install venvs && venvs converge | |
env: | |
C_INCLUDE_PATH: /usr/local/include:/usr/local/opt/[email protected]/include | |
LIBRARY_PATH: /usr/local/lib:/usr/local/opt/[email protected]/lib | |
PKG_INCLUDE_PATH: /usr/local/opt/[email protected]/lib/pkgconfig | |
with_gmp: no |