Dependencies Check #33
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: Dependencies Check | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| schedule: | |
| # Run daily at 00:00 UTC | |
| - cron: '0 0 * * *' | |
| jobs: | |
| deps-check: | |
| name: Check Dependencies | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
| node-version: ['16', '18', '20'] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Display versions | |
| run: | | |
| echo "Python version:" | |
| python --version | |
| echo "Node.js version:" | |
| node --version | |
| echo "System info:" | |
| uname -a | |
| - name: Run dependency check | |
| run: make deps | |
| - name: Check Makefile targets | |
| run: | | |
| echo "Available Makefile targets:" | |
| make help | |
| # FreeBSD check temporarily disabled - see issue #1 | |
| # TODO: Re-enable when FreeBSD VM reliability improves | |
| linux-freebsd-compat: | |
| name: Check FreeBSD Compatibility (Linux Simulation) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.9' | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| - name: Install Guile | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y guile-3.0 | |
| - name: Display versions | |
| run: | | |
| echo "System info (Linux simulating FreeBSD):" | |
| uname -a | |
| echo "Python version:" | |
| python --version | |
| echo "Node.js version:" | |
| node --version | |
| echo "Guile version:" | |
| guile-3.0 --version || guile --version || echo "Guile not found" | |
| - name: Run dependency check | |
| run: | | |
| echo "Note: Running on Linux, FreeBSD-specific features not tested" | |
| make deps |