Delete .github/FUNDING.yml #60
This file contains hidden or 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: | |
| branches: [master, develop] | |
| tags: ['v*'] | |
| pull_request: | |
| branches: [master, develop] | |
| env: | |
| BUILD_TYPE: Release | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup MSBuild | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Configure CMake | |
| run: cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} | |
| - name: Build | |
| run: cmake --build build --config ${{ env.BUILD_TYPE }} | |
| - name: Test | |
| run: ctest --test-dir build -C ${{ env.BUILD_TYPE }} | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Display-Lock | |
| path: build/src/Release/Display-Lock.exe | |
| deploy: | |
| if: startsWith(github.ref, 'refs/tags/') | |
| needs: build | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Download artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: Display-Lock | |
| path: release | |
| - name: Create release | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| artifacts: release/Display-Lock.exe | |
| bodyFile: CHANGELOG.md |