Skip to content

Commit

Permalink
Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmezzetti committed Dec 28, 2024
1 parent 7af11cf commit d4a941f
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,23 @@ jobs:

timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Checkout code
uses: actions/checkout@v3

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Install dependencies - macOS
run: |
echo "OMP_NUM_THREADS=1" >> $GITHUB_ENV
if: matrix.os == 'macos-latest'

- name: Install dependencies - Windows
run: choco install wget
run: |
"PYTHONIOENCODING=utf-8" >> $env:GITHUB_ENV
choco install wget
if: matrix.os == 'windows-latest'

- name: Build
Expand All @@ -27,8 +37,6 @@ jobs:
pip install . fasttext==0.9.2
python --version
make data coverage
env:
PYTHONUTF8: 1
- uses: pre-commit/[email protected]
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit d4a941f

Please sign in to comment.