docs: Add pre-built binaries section to README and CONTRIBUTING #8
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: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| frontend-checks: | |
| name: Frontend Checks | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: cmd/llvm-obfuscator/frontend | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: cmd/llvm-obfuscator/frontend/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run linter | |
| run: npm run lint | |
| - name: Build | |
| run: npm run build | |
| backend-checks: | |
| name: Backend Checks | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: cmd/llvm-obfuscator | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| cache: 'pip' | |
| cache-dependency-path: cmd/llvm-obfuscator/requirements.txt | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Run tests with coverage | |
| run: pytest --cov=core --cov-report=term-missing --cov-report=xml -v | |
| continue-on-error: true |