Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
Make sure Bazel always caches
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
sr229 authored Sep 23, 2021
1 parent 71b028f commit a0f22b4
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
steps:
- name: Cache Bazel directory
uses: actions/cache@v2
if: ${{ always() }}
env:
cache-name: bazel-cache
with:
Expand Down Expand Up @@ -46,25 +47,26 @@ jobs:
python-version: "3.9"
architecture: "x64"

# - name: Set up MinGW
# if: ${{ matrix.os.prettyname == 'Windows' }}
# uses: egor-tensin/setup-mingw@v2
# with:
# platform: x64
- name: Set up MinGW
if: ${{ matrix.os.prettyname == 'Windows' }}
uses: egor-tensin/setup-mingw@v2
with:
platform: x64

# - name: Build (Native, Windows)
# if: ${{ matrix.os.prettyname == 'Windows' }}
# run: |
# echo "Setting PYTHON_BIN_PATH to python in PATH"
# $env:PYTHON_BIN_PATH=(Get-Command python).Path
# echo $env:PYTHON_BIN_PATH
# pip install numpy
# python build.py build --desktop cpu --opencv=cmake -vv
- name: Build (Native, Windows)
if: ${{ matrix.os.prettyname == 'Windows' }}
run: |
echo "Setting PYTHON_BIN_PATH to python in PATH"
$env:PYTHON_BIN_PATH=(Get-Command python).Path
echo $env:PYTHON_BIN_PATH
pip install numpy
python build.py build --desktop cpu --opencv=local -vv
- name: Build (Native, *nix)
if: ${{ matrix.os.prettyname != 'Windows' }}
run: |
pip install numpy
python build.py build --desktop cpu -vv
python build.py build --desktop cpu --opencv=local -vv
- name: Build (.NET)
run: dotnet build -c Debug src/${{env.PROJECT_NAME}}.sln
Expand Down

0 comments on commit a0f22b4

Please sign in to comment.