CI #2105
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 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
- name: Uninstall Conflicting GitHub Runner Packages | |
run: brew uninstall firefox | |
if: runner.os == 'macOS' | |
- 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/openssl@1.1/include | |
LIBRARY_PATH: /usr/local/lib:/usr/local/opt/openssl@1.1/lib | |
PKG_INCLUDE_PATH: /usr/local/opt/openssl@1.1/lib/pkgconfig | |
with_gmp: no |