This repository was archived by the owner on Dec 2, 2025. It is now read-only.
chore: bump version to 1.4 #25
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: main | |
| on: [ push ] | |
| jobs: | |
| check-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: DoozyX/clang-format-lint-action@v0.18.2 | |
| with: | |
| source: './src' | |
| exclude: './lib ./tools' | |
| extensions: 'h,cpp' | |
| clangFormatVersion: 18.1.8 | |
| style: file | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set VERSION_SUFFIX | |
| shell: powershell | |
| run: | | |
| $VERSION_SUFFIX = "-$(git rev-parse --short HEAD)" | |
| echo "VERSION_SUFFIX=$VERSION_SUFFIX" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 | |
| - name: Display VERSION_SUFFIX | |
| shell: powershell | |
| run: echo "VERSION_SUFFIX is $env:VERSION_SUFFIX" | |
| - name: Add MSBuild to PATH | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Build x86 | |
| working-directory: ${{env.GITHUB_WORKSPACE}} | |
| run: msbuild bettergln.sln /p:Configuration=Release /p:Platform=Win32 /m | |
| - name: 'Upload x86 SSE2 Release Artifact' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: mupen-x86-sse2 | |
| path: build/bettergln-x86-release.dll | |
| retention-days: 14 | |
| - name: Build x64 | |
| working-directory: ${{env.GITHUB_WORKSPACE}} | |
| run: msbuild bettergln.sln /p:Configuration=Release /p:Platform=x64 /m | |
| - name: 'Upload x64 SSE2 Release Artifact' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: mupen-x64-sse2 | |
| path: build/bettergln-x64-release.dll | |
| retention-days: 14 |