-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
5,524 additions
and
2,874 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build and test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Ninja | ||
uses: ashutoshvarma/[email protected] | ||
|
||
- uses: ilammy/[email protected] | ||
|
||
- name: CMake | ||
run: | | ||
cmake -GNinja . | ||
- name: Build | ||
run: | | ||
ninja | ||
- name: Test | ||
run: | | ||
python3 demumble_test.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.*.sw? | ||
|
||
# dist.py outputs: | ||
buildlinux/ | ||
buildmac/ | ||
buildwin/ | ||
demumble-linux.zip | ||
demumble-mac.zip | ||
demumble-win.zip | ||
|
||
# build outputs when building as described in README.md: | ||
.ninja_deps | ||
.ninja_log | ||
CMakeCache.txt | ||
CMakeFiles/ | ||
build.ninja | ||
cmake_install.cmake | ||
demumble |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Push new release branch: | ||
1. make sure branches 'master' and 'release' are synced up locally | ||
2. update demumble.cc with new version (with ".git"), then | ||
1. make sure branches 'main' and 'release' are synced up locally | ||
2. update kDemumbleVersion in demumble.cc with new version (with ".git"), then | ||
git commit -am 'mark this 1.0.0.git' | ||
3. git checkout release; git merge master | ||
4. fix version number in src/version.cc (it will likely conflict in the above) | ||
5. commit, tag, push (don't forget to push --tags) | ||
3. git checkout release; git merge main | ||
4. fix version number in src/version.cc (it will conflict in the above) | ||
5. commit, tag, push (don't forget to push --tags), build binaries | ||
git commit -am v1.0.0; git push origin release | ||
git tag v1.0.0; git push --tags | ||
# Push the 1.0.0.git change on master too: | ||
git checkout master; git push origin master | ||
6. add binaries to https://github.com/nico/demumble/releases | ||
build them with `./dist.py` (on the release branch) | ||
./dist.py # on the 'release' branch | ||
# Push the 1.0.0.git change on main too: | ||
git checkout main; git push origin main | ||
6. add demumble-{linux,mac,win}.zip to https://github.com/nico/demumble/releases |
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
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
Oops, something went wrong.