Use EVP with OpenSSL; suppress CommonCrypto MD5/SHA1 warnings #5
This file contains hidden or 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, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0 | |
| with: | |
| python-version: '3.12' | |
| - name: Install system dependencies | |
| if: runner.os == 'Linux' | |
| run: sudo apt-get install -y gcc libssl-dev libsqlite3-dev uuid-dev | |
| - name: Build | |
| run: make DEBUG=1 | |
| - name: Test | |
| run: make test USE_DEFAULT_ENTRY_POINT=1 | |
| - name: Coverage | |
| if: runner.os == 'Linux' | |
| run: gcov -o dist src/uuid.c | |
| - name: Upload coverage | |
| if: runner.os == 'Linux' | |
| uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 |