Skip to content

Commit

Permalink
Merge pull request #310 from Gumball2415/main
Browse files Browse the repository at this point in the history
Update CI build scripts
  • Loading branch information
Gumball2415 authored Dec 11, 2024
2 parents 6ab292c + afaf640 commit bbcc086
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 98 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ jobs:
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: '3.1.8'
- name: Set commit hash variable
shell: powershell
run: echo "commithash=$(git describe --tags)" >> $env:GITHUB_ENV
- name: Build program
shell: cmd
run: |
powershell -Command "echo "commithash=$(git describe --tags)" >> $env:GITHUB_ENV"
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsamd64_x86.bat"
call msbuild -m:5 -nologo -p:Configuration="${{ matrix.configuration }}" -p:Platform="${{ matrix.platform }}"
if %ERRORLEVEL%==1 exit %ERRORLEVEL%
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-release-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
shell: powershell
- run: ls -R
- name: Upload release
uses: marvinpinto/action-automatic-releases@v1.2.1
uses: softprops/action-gh-release@v2
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
prerelease: false
automatic_release_tag: draft
tag_name: draft
files: Dn-FamiTracker_artifacts/*.7z
40 changes: 0 additions & 40 deletions Dn_main_appveyor.yml

This file was deleted.

22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,15 @@ Dn-Famitracker is a fork of 0CC-FamiTracker that incorporates numerous fixes and

## Downloads

Download releases: [![GitHub all releases](https://img.shields.io/github/downloads/Dn-Programming-Core-Management/Dn-FamiTracker/total?logo=github&style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/releases)

Development builds: [![AppVeyor](https://img.shields.io/appveyor/build/Gumball2415/dn-famitracker?logo=appveyor&style=flat-square)](https://ci.appveyor.com/project/Gumball2415/dn-famitracker/history)

Github Actions automated builds: [![GitHub Actions](https://img.shields.io/github/actions/workflow/status/Dn-Programming-Core-Management/Dn-FamiTracker/build-artifact.yml?style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/actions/workflows/build-artifact.yml)

Github Actions automated release builds: [![GitHub](https://img.shields.io/github/actions/workflow/status/Dn-Programming-Core-Management/Dn-FamiTracker/build-release-artifact.yml?style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/actions/workflows/build-release-artifact.yml)

Legacy Dev Builds: [![AppVeyor](https://img.shields.io/appveyor/build/Gumball2415/dn-famitracker-legacy?logo=appveyor&style=flat-square)](https://ci.appveyor.com/project/Gumball2415/dn-famitracker-legacy/history)

Notice: Due to delayed Appveyor reintegration, builds for commits `dc4c9e8` to `2141360` are not available.

Notice: Due to delayed branch renaming, builds for commits `bc46c86` to `a591d15` are not available.
- Download releases: [![GitHub all releases](https://img.shields.io/github/downloads/Dn-Programming-Core-Management/Dn-FamiTracker/total?logo=github&style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/releases)
- GitHub Actions automated builds: [![GitHub Actions](https://img.shields.io/github/actions/workflow/status/Dn-Programming-Core-Management/Dn-FamiTracker/build-artifact.yml?style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/actions/workflows/build-artifact.yml)
- Github Actions automated release builds: [![GitHub](https://img.shields.io/github/actions/workflow/status/Dn-Programming-Core-Management/Dn-FamiTracker/build-release-artifact.yml?style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/actions/workflows/build-release-artifact.yml)
- Legacy AppVeyor Gumball2415 builds: [![AppVeyor](https://img.shields.io/appveyor/build/Gumball2415/dn-famitracker-legacy?logo=appveyor&style=flat-square)](https://ci.appveyor.com/project/Gumball2415/dn-famitracker-legacy/history)
- Legacy AppVeyor automated D.P.C.M. builds: [![AppVeyor](https://img.shields.io/appveyor/build/Gumball2415/dn-famitracker?logo=appveyor&style=flat-square)](https://ci.appveyor.com/project/Gumball2415/dn-famitracker/history)
- AppVeyor notice:
- Due to delayed AppVeyor reintegration, builds for commits `dc4c9e86` to `21413603` are not available.
- Due to delayed AppVeyor branch reconfiguration, builds for commits `bc46c86c` to `a591d154` are not available.
- Due to less reliability, AppVeyor builds beyond `2c997736` are not available.

## Licenses

Expand Down
39 changes: 0 additions & 39 deletions docs/version update.md

This file was deleted.

51 changes: 51 additions & 0 deletions docs/version_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Version Update Checklist

- [ ] Create Version Tag
- Format: `Dnx.y.z.r`
- x: Major (API change)
- y: Minor (backward compatible change)
- z: Patch (backward compatible bugfix)
- r: Revision (backward compatible quick fixes for typos)
- Double check that this tag is higher than the previous release tag
- Version tag must be appropriate to Semantic Versioning
- [ ] Update changelogs:
- [CHANGELOG.md](CHANGELOG.md), which will update [../Dn-Help/hlp/changelog_shell.htm](changelog_shell.htm) upon build
- [ ] Edit every file with version info:
- [Dn-FamiTracker.rc](../Dn-FamiTracker.rc)
- [version.h](../version.h)
- [ ] **IMPORTANT**: update ConfigVersion.cpp
- [ ] Update copyright years:
- [LICENSE.txt](../LICENSE.txt)
- all source files with copyright info:

```
FamiTracker - NES/Famicom sound tracker
Copyright (C) 2005-2020 Jonathan Liss
0CC-FamiTracker is (C) 2014-2018 HertzDevil
Dn-FamiTracker is (C) 2020-2024 D.P.C.M.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details. To obtain a
copy of the GNU Library General Public License, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Any permitted reproduction of these routines, in whole or in part,
must bear this legend.
```

- [ ] Create and push Version Tag to the repo
- There is a GitHub Actions script to build a drafted release upon a tag push
- Tag must be on commit deemed appropriate for release
- [ ] Edit and publish the draft release page in GitHub
- [ ] Triple check that the tag on the release matches the Version Tag
- [ ] Double check the build artifacts to be accurate and working
- [ ] Notify everyone about the new version

0 comments on commit bbcc086

Please sign in to comment.