Merge pull request #12 from IPdotSetAF/6-database-tools #5
This file contains 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: Build Binaries | ||
on: | ||
workflow_call: | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ['windows-latest', 'ubuntu-latest, 'macos-latest'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
- run: cd CodeChefDatabaseProxy | ||
- run: pip install -r requirements.txt pyinstaller | ||
- run: pyinstaller --onefile proxy.py | ||
# Optionally verify that it works (provided that it does not need user interaction) | ||
#- run: ./dist/your-code/your-code | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: dist/* |