Skip to content

Commit

Permalink
ci: reorder steps
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Jan 16, 2024
1 parent 35e3d53 commit 6fc64b8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ jobs:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -127,6 +126,10 @@ jobs:
python-version: [3.8, 3.9, "3.10", "3.11"]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install OpenSSL
id: vcpkg
uses: johnwason/vcpkg-action@v5
Expand All @@ -137,16 +140,12 @@ jobs:
- name: Set OPENSSL_DIR environment variable
shell: bash
run: echo "OPENSSL_DIR=${{ github.workspace }}\\vcpkg\\installed\\x64-windows-release" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Build and test
run: |
pip install virtualenv
virtualenv venv; venv\Scripts\activate.ps1
pwd
env
python -m pip install --upgrade pip maturin
python -m pip install pytest
maturin develop --manifest-path yara-x-py/Cargo.toml
Expand Down

0 comments on commit 6fc64b8

Please sign in to comment.