Refactor default api loader for first
and last
#441
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 (x64) | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Bind MSVC problem matcher | |
uses: ammaraskar/msvc-problem-matcher@master | |
- name: Make | |
run: msbuild /m /p:Configuration=Debug-MSVC /p:Platform=x64 .vs\deemon-v142.sln | |
- name: Test | |
run: ${{ github.workspace }}\deemon.exe util\test.dee | |
- name: Prepare lib folder for artifact | |
shell: bash | |
run: | | |
find "lib" -name '*.dec' -delete | |
find "lib" -name '.gitignore' -delete | |
unlink lib/LANGUAGE.txt || true | |
- name: Save executable as artifact | |
if: success() || failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }}-${{ github.sha }}-build-x64 | |
if-no-files-found: ignore | |
path: | | |
deemon.* | |
lib |