Skip to content

Commit

Permalink
testing commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Procatv committed Aug 7, 2024
1 parent 3fb217d commit 38fb2a2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
CIBW_ENVIRONMENT: 'RUSTUP_TOOLCHAIN="stable" RUSTFLAGS="-Cprofile-use=/tmp/pgo-data/merged.profdata -Cllvm-args=-pgo-warn-missing-function"'
CIBW_ENVIRONMENT_LINUX: 'PATH="$PATH:$HOME/.cargo/bin" CARGO_NET_GIT_FETCH_WITH_CLI="true" RUSTUP_TOOLCHAIN="stable" RUSTFLAGS="-Cprofile-use=/tmp/pgo-data/merged.profdata -Cllvm-args=-pgo-warn-missing-function"'
CIBW_ENVIRONMENT_WINDOWS: 'RUSTUP_TOOLCHAIN="stable" RUSTFLAGS="-Cprofile-use=c:\\Users\\runneradmin\\merged.profdata -Cllvm-args=-pgo-warn-missing-function"'
- name: Install requirements
run: pip install -r requirements-dev.txt
- name: Runs tests
run: stestr run --abbreviate
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
Expand Down Expand Up @@ -65,6 +69,10 @@ jobs:
CIBW_ENVIRONMENT: >-
CARGO_BUILD_TARGET="aarch64-apple-darwin"
PYO3_CROSS_LIB_DIR="/Library/Frameworks/Python.framework/Versions/$(python -c 'import sys; print(str(sys.version_info[0])+"."+str(sys.version_info[1]))')/lib/python$(python -c 'import sys; print(str(sys.version_info[0])+"."+str(sys.version_info[1]))')"
- name: Install requirements
run: pip install -r requirements-dev.txt
- name: Runs tests
run: stestr run --abbreviate
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
Expand All @@ -89,6 +97,10 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_SKIP: 'pp* cp36-* cp37-* *musllinux* *amd64 *x86_64'
- name: Install requirements
run: pip install -r requirements-dev.txt
- name: Runs tests
run: stestr run --abbreviate
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
Expand Down Expand Up @@ -136,6 +148,10 @@ jobs:
env:
CIBW_ARCHS_LINUX: s390x
CIBW_TEST_SKIP: "cp*"
- name: Install requirements
run: pip install -r requirements-dev.txt
- name: Runs tests
run: stestr run --abbreviate
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-s390x
Expand Down Expand Up @@ -166,6 +182,10 @@ jobs:
env:
CIBW_ARCHS_LINUX: ppc64le
CIBW_TEST_SKIP: "cp*"
- name: Install requirements
run: pip install -r requirements-dev.txt
- name: Runs tests
run: stestr run --abbreviate
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-ppc64le
Expand Down Expand Up @@ -199,6 +219,10 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_ARCHS_LINUX: aarch64
- name: Install requirements
run: pip install -r requirements-dev.txt
- name: Runs tests
run: stestr run --abbreviate
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-aarch64
Expand Down

0 comments on commit 38fb2a2

Please sign in to comment.