promote vfpv4 for auto fp16 storage conversion #2097
Workflow file for this run
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
name: windows-arm64-cpu | |
on: | |
push: | |
branches: [master] | |
paths: | |
- '.github/workflows/windows-arm64-cpu.yml' | |
- 'CMakeLists.txt' | |
- 'cmake/**' | |
- 'src/*' | |
- 'src/layer/*' | |
- 'src/layer/arm/**' | |
- 'tests/**' | |
pull_request: | |
branches: [master] | |
paths: | |
- '.github/workflows/windows-arm64-cpu.yml' | |
- 'CMakeLists.txt' | |
- 'cmake/**' | |
- 'src/*' | |
- 'src/layer/*' | |
- 'src/layer/arm/**' | |
- 'tests/**' | |
concurrency: | |
group: windows-arm64-cpu-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
windows: | |
name: ${{ matrix.vs-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- vs-version: vs2019 | |
toolset-version: v142 | |
os: windows-2022 | |
- vs-version: vs2022 | |
toolset-version: v143 | |
os: windows-2022 | |
env: | |
UseMultiToolTask: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
run: | | |
mkdir build; cd build | |
cmake -T ${{ matrix.toolset-version }},host=x64 -A arm64 -DNCNN_BUILD_TESTS=OFF -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF .. | |
cmake --build . --config Release -j 2 | |
- name: build-shared | |
run: | | |
mkdir build-shared; cd build-shared | |
cmake -T ${{ matrix.toolset-version }},host=x64 -A arm64 -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF -DNCNN_SHARED_LIB=ON .. | |
cmake --build . --config Release -j 2 | |
woa-linux: | |
name: woa-linux | |
runs-on: ubuntu-latest | |
container: linaro/wine-arm64 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: msvc-wine | |
env: | |
WINEPREFIX: /tmp/wine-x64-prefix/ | |
run: | | |
apt-get update | |
apt-get install -y wine64 python3 msitools python3-simplejson python3-six ca-certificates winbind cmake ninja-build meson | |
ln -s /usr/bin/wine /usr/bin/wine64 | |
xvfb-run winecfg & | |
git clone --depth 1 https://github.com/mstorsjo/msvc-wine | |
msvc-wine/vsdownload.py --accept-license --dest /msvc | |
msvc-wine/install.sh /msvc | |
- name: build | |
env: | |
WINEPREFIX: /tmp/wine-x64-prefix/ | |
CC: cl | |
CXX: cl | |
run: | | |
export PATH=/msvc/bin/arm64:$PATH | |
mkdir build && cd build | |
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Windows -DNCNN_BUILD_TESTS=ON .. | |
cmake --build . --config Release -j 2 | |
- name: test | |
run: | | |
cd build | |
TESTS_EXECUTABLE_LOADER=wine-arm64 TESTS_EXECUTABLE_LOADER_ARGUMENTS="" ctest --output-on-failure -j 2 |