Fix code scanning alert no. 213: Use of potentially dangerous function #189
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: OneBranch-Style Build | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
permissions: read-all | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [x64, arm64] | |
name: Build | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
submodules: 'recursive' | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce | |
- name: Pre-Build | |
shell: pwsh | |
run: ./.azure/pre-build.ps1 -Arch ${{ matrix.arch }} | |
- name: Build | |
run: msbuild ./build/ALL_BUILD.vcxproj /p:Configuration=Release /p:Platform=${{ matrix.arch }} | |
- name: Post-Build | |
shell: pwsh | |
run: ./.azure/post-build.ps1 -Arch ${{ matrix.arch }} | |
- name: Upload | |
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b | |
with: | |
name: bin-windows-${{ matrix.arch }} | |
path: | | |
build/bin/**/*.so | |
build/bin/**/*.dll | |
build/bin/**/quicreach | |
build/bin/**/quicreach.exe | |
build/bin/**/quicreach.msi |