-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ jobs: | |
name: ${{ matrix.os }} - Python ${{ matrix.python-version }} | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
CC: clang-cl | ||
CXX: clang-cl | ||
LDFLAGS: "-Wl,-S" | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# CC: clang-cl | ||
# CXX: clang-cl | ||
# LDFLAGS: "-Wl,-S" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -32,6 +32,10 @@ jobs: | |
# platform: x64 | ||
- name: Setup MSVC | ||
uses: ilammy/[email protected] | ||
- name: Prepare MSVC | ||
uses: bus1/cabuild/action/msdevshell@v1 | ||
with: | ||
architecture: x64 | ||
# - name: Install Clang with OpenMP support using Chocolatey | ||
# run: | | ||
# choco install -y llvm --params "clang;compiler=clang" --version 13.0.0 | ||
|
@@ -53,9 +57,6 @@ jobs: | |
- name: Install package | ||
run: | | ||
pip install --verbose . | ||
env: | ||
CC: msvc | ||
CXX: msvc | ||
- name: Test with pytest | ||
run: | | ||
python -m pytest tests/ --cov=primate --benchmark-skip | ||
|