Merge pull request #376 from Dn-Programming-Core-Management/docs-lice… #275
Workflow file for this run
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-artifact | |
| on: push | |
| env: | |
| commithash: "" | |
| cc65_path: ${{ github.workspace }}\opt\cc65 | |
| # Fix cc65 segfault on 64-bit LLP64 Windows builds #1694 | |
| cc65_ref: 2f4e2a34c32c679e4325652e461acce7f615a22e | |
| jobs: | |
| build-cc65: | |
| runs-on: windows-2022 | |
| steps: | |
| # pull repo just to get the .yml files | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: "recursive" | |
| fetch-depth: 0 | |
| - uses: ./.github/actions/cache_cc65 | |
| with: | |
| cc65Path: ${{ env.cc65_path }} | |
| cc65Ref: ${{ env.cc65_ref }} | |
| build-matrix-artifacts: | |
| needs: build-cc65 | |
| runs-on: windows-2022 | |
| strategy: | |
| matrix: | |
| platform: [x64, Win32] | |
| configuration: [Release, Debug, ASAN-Release, ASAN-Debug] | |
| steps: | |
| # pull repo just to get the .yml files | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: "recursive" | |
| fetch-depth: 0 | |
| - run: powershell -Command "echo "commithash=$(git describe --tags)" >> $env:GITHUB_ENV" | |
| - name: Build program | |
| uses: ./.github/actions/build_matrix | |
| with: | |
| platform: "${{ matrix.platform }}" | |
| configuration: "${{ matrix.configuration }}" | |
| commithash: "${{ env.commithash }}" | |
| - run: call release.bat ${{ matrix.configuration }} ${{ matrix.platform }} ${{ env.commithash }}_${{ github.run_id }} | |
| shell: cmd | |
| - name: Upload binaries | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Dn-FamiTracker_${{ env.commithash }}_${{ github.run_id }}_${{ matrix.platform }}_${{ matrix.configuration }} | |
| path: distribute/*_${{ matrix.platform }}_${{ matrix.configuration }}.7z |