Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
submodules: true
- name: Install black
run: |
python -m pip install black
python -m pip install black=="24.10.0"
- name: Validate code
run: |
find . -name '*.py'|grep -v headers|grep -v demes-spec|xargs python -m black --check
Expand Down
20 changes: 2 additions & 18 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
builddocs:
name: Build manual
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
compiler: [gcc]
Expand Down Expand Up @@ -61,22 +61,6 @@ jobs:
run: |
sudo apt install --fix-missing -y libgsl-dev cmake

- name: Set GCC as compiler
if: matrix.compiler == 'gcc'
run: |
echo "CC=gcc-9" >> $GITHUB_ENV
echo "CXX=g++-9" >> $GITHUB_ENV

- name: Test compiler
if: matrix.compiler == 'gcc'
run: |
$CXX -v
$CC -v

- name: Edit PATH
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Install Python dependencies
run: |
python -m pip install --user --upgrade pip
Expand Down Expand Up @@ -118,7 +102,7 @@ jobs:
name: deploy
needs: builddocs
if: github.event_name == 'release'
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
defaults:
run:
shell: bash
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build, test, and deploy, wheels

on:
schedule:
- cron: "0 0 1 * *"
# schedule:
# - cron: "0 0 1 * *"
release:
types: [created]
pull_request:
Expand Down Expand Up @@ -108,6 +108,7 @@ jobs:
strategy:
matrix:
python: ["3.10", "3.11", "3.12", "3.13"]
rust: [1.62.1]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1
Expand All @@ -123,8 +124,15 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install cbindgen
uses: baptiste0928/cargo-install@v3
with:
crate: cbindgen
version: "=0.24.3"
locked: true
- name: Install sdist into venv
run: |
sudo apt install -y --fix-missing libgsl0-dev
python -m venv sdist_venv
source sdist_venv/bin/activate
python -m pip install --upgrade pip setuptools
Expand Down
2 changes: 1 addition & 1 deletion rust/corrosion
Submodule corrosion updated 252 files
Loading