Skip to content

Add directory filter callback to traverseDirectory #100

Add directory filter callback to traverseDirectory

Add directory filter callback to traverseDirectory #100

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
unix:
strategy:
matrix:
os: [ubuntu, macos]
name: ${{matrix.os}}
runs-on: ${{matrix.os}}-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: make
run: make -j2
- name: prepare upload
run: |
strip qgrep
mkdir upload
cp -R vim upload/
cp qgrep upload/vim/
cp README.md upload/
cp qgrep upload/
- uses: actions/upload-artifact@v4
with:
name: qgrep-${{matrix.os}}
path: upload
windows:
runs-on: windows-latest
strategy:
matrix:
arch: [Win32, x64]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: msbuild exe
shell: cmd
run: |
set PATH=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin
msbuild qgrep.vcxproj /v:minimal /p:Configuration=Release /p:Platform=${{matrix.arch}}
- name: msbuild dll
shell: cmd
run: |
set PATH=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin
msbuild qgrep.vcxproj /v:minimal /p:Configuration=ReleaseDLL /p:Platform=${{matrix.arch}}
- name: prepare upload
shell: bash
run: |
mkdir upload
cp -R vim upload/
cp build/ReleaseDLL_${{matrix.arch}}/qgrep.dll upload/vim/
cp README.md upload/
cp build/Release_${{matrix.arch}}/qgrep.exe upload/
- uses: actions/upload-artifact@v4
with:
name: qgrep-windows-${{matrix.arch}}
path: upload