Skip to content

Commit

Permalink
Fix Github Actions
Browse files Browse the repository at this point in the history
This reverts commit c101ded
  • Loading branch information
ArchieMeng committed Aug 24, 2021
1 parent 572253e commit 8903d89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
$env:SWIG_DIR="$(pwd)\SWIG"
$env:SWIG_EXECUTABLE="$(pwd)\SWIG\swig.exe"
$env:PATH="$env:PATH;$env:SWIG_DIR"
cmake -A x64 -B build ../${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake -A x64 -B build ${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake --build build --config Release -j 2
ubuntu: # no needs to install swig for it is already there
Expand All @@ -65,7 +65,7 @@ jobs:
- name: build
run: |
export VULKAN_SDK=`pwd`/1.2.162.0/x86_64
cmake -A x64 -B build ../${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake -B build ${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake --build build -j 2
ubuntu-1804: # no needs to install swig for it is already there
Expand All @@ -90,7 +90,7 @@ jobs:
- name: build
run: |
export VULKAN_SDK=`pwd`/1.2.162.0/x86_64
cmake -A x64 -B build ../${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake -B build ${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake --build build -j 2
macos:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: build
run: |
export VULKAN_SDK=`pwd`/1.2.162.0/x86_64
cmake -A x64 -B build ../${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake -B build ${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake --build build -j 2
- name: package
run: |
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
- name: build
run: |
export VULKAN_SDK=`pwd`/1.2.162.0/x86_64
cmake -A x64 -B build ../${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake -B build ${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake --build build -j 2
- name: package
run: |
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
$env:SWIG_DIR="$(pwd)\SWIG"
$env:SWIG_EXECUTABLE="$(pwd)\SWIG\swig.exe"
$env:PATH="$env:PATH;$env:SWIG_DIR"
cmake -A x64 -B build ../${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake -A x64 -B build ${{ env.APPNAME_SHORT }}_ncnn_vulkan_python
cmake --build build --config Release -j 2
- name: package
run: |
Expand Down

0 comments on commit 8903d89

Please sign in to comment.