Skip to content

Commit

Permalink
Introduce nightly build and test
Browse files Browse the repository at this point in the history
On all supported OSes and Python versions
  • Loading branch information
gemenerik authored Nov 20, 2024
1 parent b2772f0 commit 840d891
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Run check and build of the lib using the Bitcraze builder docker image
name: Nightly Build

on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'

jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.10, 3.11, 3.12, 3.13]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Verify
run: ./tools/build/verify

- name: Test
run: ./tools/build/test

- name: Build
run: ./tools/build/build

- name: Build docs
run: ./tools/build-docs/build-docs

0 comments on commit 840d891

Please sign in to comment.