extern: Update re2 to 2023-03-01 #67
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: build | |
on: [push, pull_request] | |
jobs: | |
unix: | |
strategy: | |
matrix: | |
os: [ubuntu, macos] | |
name: ${{matrix.os}} | |
runs-on: ${{matrix.os}}-latest | |
steps: | |
- uses: actions/checkout@v1 | |
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@v1 | |
with: | |
name: qgrep-${{matrix.os}} | |
path: upload | |
windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
arch: [Win32, x64] | |
steps: | |
- uses: actions/checkout@v1 | |
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@v1 | |
with: | |
name: qgrep-windows-${{matrix.arch}} | |
path: upload |