diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af9003b..95a903a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,12 +4,18 @@ on: [push, pull_request] jobs: build-test: - runs-on: - - ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest] steps: + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Python version run: | python3 --version diff --git a/src/buffer.c b/src/buffer.c index 1c60d70..c172e83 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -7,6 +7,12 @@ #include #include +/* csp_buffer_get_always() is now an internal function + * and not exposed in the public API, so we need to + * declare it here for testing purposes. + */ +csp_packet_t * csp_buffer_get_always(void); + static void *setup(void) { csp_init();