Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkawamoto committed Oct 14, 2024
1 parent 33d8831 commit 1419e5b
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
- main
pull_request:

concurrency:
group: check-build-${{ github.ref }}
cancel-in-progress: true
#concurrency:
# group: check-build-${{ github.ref }}
# cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -91,27 +91,20 @@ jobs:
fail-fast: false
matrix:
backend: [openblas]
feature: [""]
# feature: ["", "flash-attention"]
feature: ["", "flash-attention"]
runs-on: windows-latest
steps:
- name: Install MKL
if: ${{ matrix.backend == 'mkl' }}
run: |
vcpkg install intel-mkl:x64-windows-static
Remove-Item -Recurse -Force "$env:VCPKG_INSTALLATION_ROOT/downloads"
echo "MKLROOT=$env:VCPKG_INSTALLATION_ROOT/installed/x64-windows-static" >> $env:GITHUB_ENV
echo "PATH=$env:VCPKG_INSTALLATION_ROOT/installed/x64-windows-static/bin;$env:PATH" >> $env:GITHUB_ENV
# echo "CMAKE_INCLUDE_PATH=$env:VCPKG_INSTALLATION_ROOT/installed/x64-windows/include;$env:CMAKE_INCLUDE_PATH" >> $env:GITHUB_ENV
# echo "CMAKE_LIBRARY_PATH=$env:VCPKG_INSTALLATION_ROOT/installed/x64-windows/lib/intel64;$env:CMAKE_LIBRARY_PATH" >> $env:GITHUB_ENV
- uses: actions/cache@v4
with:
path: ${{ env.VCPKG_INSTALLATION_ROOT }}/installed
key: cache-vcpkg-packages
- name: Install OpenBLAS
if: ${{ matrix.backend == 'openblas' }}
run: |
vcpkg install openblas:x64-windows-static
Remove-Item -Recurse -Force "$env:VCPKG_INSTALLATION_ROOT/downloads"
echo "CMAKE_INCLUDE_PATH=$env:VCPKG_INSTALLATION_ROOT/installed/x64-windows-static/include/openblas;$env:CMAKE_INCLUDE_PATH" >> $env:GITHUB_ENV
echo "CMAKE_LIBRARY_PATH=$env:VCPKG_INSTALLATION_ROOT/installed/x64-windows-static/lib;$env:CMAKE_LIBRARY_PATH" >> $env:GITHUB_ENV
# echo "PATH=$env:VCPKG_INSTALLATION_ROOT/installed/x64-windows-static/bin;$env:PATH" >> $env:GITHUB_ENV
- uses: actions/checkout@v4
with:
submodules: recursive
Expand Down

0 comments on commit 1419e5b

Please sign in to comment.