1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-29 15:19:44 +02:00

94 Commits

Author SHA1 Message Date
TheEvilSkeleton
9b4b96d989
Change Flatpak manifest location (#696) 2022-03-23 10:09:47 +01:00
Edgar
87ea52b1a4
Fix CI build (#715) 2022-03-22 23:14:20 +01:00
Edgar
a08fdb282b
Fix CodeQL CI build
Signed-off-by: Edgar <Edgar@AnotherFoxGuy.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/699
2022-03-20 01:59:50 +01:00
Emily Mabrey
bee8ce7313
Remove skipping CI plugin
The original workflow that we ended up using for skipping
CI runs whenever a person proposed a change that only
affected documentation straight up broke. So, we might as
well just remove it from our codebase.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/637
2021-10-11 06:40:22 +00:00
Emily Mabrey
b450069a86
Enable auto runs of flatpak CI
Flatpak CI should now run automatically when flatpak specific files are changed

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-27 12:27:47 -04:00
Emily Mabrey
2e84f0c03f
Remove nuget.config
Modify cmake_build workflow to no longer remove automatically
Remove nuget.config file from repository

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-20 23:23:43 -04:00
Emily Mabrey
2903c8f29c
Disable CI build skip
Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-16 18:22:38 -04:00
Emily Mabrey
4b3778ec7c
Lockdown skip ci action version
Use SHA of 3.4.1 version of fkirc/skip-duplicate-actions

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-16 17:14:35 -04:00
Emily Mabrey
b4032a7751
Move MACOSX_DEPLOYMENT_TARGET initialization
Stop setting it globally and make it wxwidgets build specific
Use CMAKE_OSX_DEPLOYMENT_TARGET instead of the env var name

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-14 14:58:12 -04:00
Emily Mabrey
eb57e47ce3
Modify vcpkg logs name to be unique
Use build matrix id to ensure uniqueness of vcpkg logs

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-14 14:58:12 -04:00
Emily Mabrey
032a52dac1
Change vcpkg caching
Only cache vcpkg executable
Add vcpkg bootstrap logs to artifact upload

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-14 14:58:12 -04:00
Emily Mabrey
d4b13d9c38
Fix Nuget cache in CI builds
Package writing was not working correctly due to permissions misconfiguration
Change NuGet cache writing scenarios
Always write to NuGet cache when building within a tenacityteam repository

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-14 14:58:11 -04:00
Emily Mabrey
69774679e7
Disable Flatpak builds on PR
Flatpak builds will only run on merge to master and when manually triggered

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-11 15:34:47 -04:00
Emily Mabrey
aa3d5c096c
Add skip logic to Github CI
Skip duplicate CI runs with the same content
Skip concurrent CI runs of the same content
Cancel old CI runs when a newer commit is pushed on top of a branch
Skip CI builds which change documentation and non-build related config files

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-11 15:34:46 -04:00
Emily Mabrey
5cb9586107
Revert four previous commits
This reverts head to before commit 460a2f819d76cc42e69f788918e78c7aa59fcca8

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/591
Reference-to: https://github.com/tenacityteam/tenacity/pull/592
Reference-to: https://github.com/tenacityteam/tenacity/pull/598
Reference-to: https://github.com/tenacityteam/tenacity/pull/599
2021-09-11 11:44:39 -04:00
Be
ae8fe40448
GH Actions: Remove macOS Catalina 10.15 runner
This is unnecessary and just wastes finite resources of CI runners
and cache, as we test against Big Sur.

Signed-off-by: Be <be@mixxx.org>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com
Co-authored-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/598/
2021-09-11 14:45:12 +00:00
Be
74574fe60a
GH Actions: Move step to get vcpkg commit where it is needed
Moving this closer to where it is used makes the workflow easier
to read.

Signed-off-by: Be <be@mixxx.org>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/592
2021-09-11 14:28:43 +00:00
Be
ecf9c9d430
GH Actions: Rename "Packaging" job to "Flatpak"
"Packaging" is vague terminology.

Signed-off-by: Be <be@mixxx.org>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-09-11 14:26:12 +00:00
Be
460a2f819d
GH Actions: Revert to using Ninja CMake generator for all OSes
This is consistent with the BUILDING.md documentation.

Doing redundant Windows builds wastes resources. GitHub Actions
gives us 20 concurrent jobs but adding 2 unnecessary jobs to every
push will push us to that limit more often.

Signed-off-by: Be <be@mixxx.org>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-09-11 14:24:44 +00:00
Emily Mabrey
e137f42bc3
Modify Nuget Cache to Github Packages
Modify `cmake_build.yml` to populate Github Packages Nuget cache via CI builds
Modify `CMakeLists.txt` to read from Github Packages Nuget cache during builds
Add `nuget.config` to enable nuget cache for contributors without configuration

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-09 20:10:39 -04:00
Emily Mabrey
a1756f301f
Move YASM workaround to vcpkg submodule
Remove github actions workaround and replace by changing upstream vcpkg commit

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-06 02:06:05 -04:00
Emily Mabrey
c3db577e93
Refactor build and CI configurations
Reword vcpkg caching comment
Make comment about wxwidgets Linux/macOS workaround more clear
Give each step of `cmake_build.yml` workflow a unique ID
Change cache lookups to use step's id instead of step's name
Add glob protection to runner OS detection in CI
Set new default CI build type of MinSizeRel
Ensure consistent formatting across `CMakeLists.txt` files
Change mimetypes generated on Linux to use tenacity-project mimetype
Add more explanatory comments to both `CMakeLists.txt`
Replace improper build architecture debug messages

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-06 02:06:04 -04:00
Emily Mabrey
fdf15b8366
Merge pull request from tenacityteam/flatpak-id-fix
Fix aarch64 Flatpak builds

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/570
2021-09-04 01:42:55 -04:00
Emily Mabrey
a1cfcceaff
Fix workflows/codeql-analysis.yml
The CodeQL workflow also needs the dependency logic change from previous removal

Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>
Reference-to: 543bf3b99313a010bfbea89b9775fc3f4cf85cb2
2021-09-02 21:07:05 -04:00
Emily Mabrey
b34128b4c0
Update flatpak-github-actions@v3 to v4
Add QEMU to emulate ARM platform so aarch64 builds are correctly built
Update flatpak-github-actions to use v4 to fix cache per arch issue

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-01 22:08:35 -04:00
Edgar
543bf3b993
CI: Move dependency install script to workflow
This change removes the script `script/ci/dependencies.sh` and moves it
to the GitHub Actions workflow instead.

Signed-off-by: Edgar <Edgar@AnotherFoxGuy.com>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-09-01 23:41:30 +03:00
Edgar
3446825971
CI: Use scoop instead of choco
Signed-off-by: Edgar <Edgar@AnotherFoxGuy.com>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-09-01 23:41:16 +03:00
TheEvilSkeleton
e8812b1d66
Initial Tenacity Flatpak
Closes https://github.com/tenacityteam/tenacity/issues/493

Signed-off-by: TheEvilSkeleton <theevilskeleton@riseup.net>
2021-08-30 12:58:28 +03:00
Emily Mabrey
2fcf9d3a5b
Fix MacOS CI
Only attempt signing using Apple certificate on create tag events.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/525
2021-08-22 09:04:13 -04:00
Emily Mabrey
e36e9095bd
Make log uploads conditional
Since vcpkg no longer always generates buildtree logs ignore them missing

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-08-21 13:04:01 -04:00
Emily Mabrey
03d8c31316
Enable vcpkg binary cache using Nuget
Add Nuget binary caching to vcpkg builds
Enable Jfrog Artifactory as Nuget source in CI builds
Add manual non-interactive Nuget authentication
Prevent CMake from overwriting VCPKG_BINARY_SOURCES
Use CI builds to auto generate cache artifacts within Artifactory
Enable action trigger kind "workflow_dispatch" within `cmake_build.yml`

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-08-21 11:47:02 -04:00
Emily Mabrey
18343ef1f2
Update CodeQL runner for vcpkg integration
Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-08-17 21:10:06 -04:00
Be
0acf00d8b9
Use vcpkg for dependencies and cleanup GH Actions workflow
Signed-off-by: Be <be@mixxx.org>
2021-08-16 13:22:02 -05:00
Not a proton
57c4c6143d
Correct commit ID location in bug report form
Signed-off-by: Not a proton <notaproton8@gmail.com>
2021-08-13 12:51:04 +03:00
Semisol
9fd60e6cc6
Convert issue templates to forms
Signed-off-by: Semisol <hi@semisol.dev>
2021-08-11 00:03:33 +03:00
Emily Mabrey
c22d78cb19
Make CodeQL analysis use GCC 11
Use an action to automatically install GCC 11 on the CI env.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-07-26 18:24:47 -04:00
Edgar
8a0502febd
CI: Install Conan using package manager
Before this change, the CI used `pip` to install Conan. This was not optimal.

Signed-off-by: Edgar <Edgar@AnotherFoxGuy.com>
2021-07-26 22:04:36 +00:00
Emily Mabrey
916def4061
Add CodeQL static analysis
* Add CodeQL workflow that runs static analysis every 6 hours daily.
* Remove compiler caching from CodeQL workflow
* Only run CodeQL analysis on PRs that modify configuration.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Related-to: https://github.com/tenacityteam/tenacity/pull/384
2021-07-26 16:44:44 -04:00
Emily Mabrey
e38956e9c5
Fix bug in cmake_build.yml
`conan remote add` throws an error by default if the remote already exists.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-07-25 01:27:04 -04:00
Edgar
5b308e2568
🎉 Added cmake target for building manpage with scdoc
Signed-off-by: Edgar <Edgar@AnotherFoxGuy.com>
2021-07-24 17:14:26 +02:00
Semisol
c927f17ce9
Collapse checklist into a <details> element
Signed-off-by: Semisol <hi@semisol.dev>
2021-07-23 11:52:00 +03:00
Ajay Ramachandran
cb7a6c9056
Rename executable names and package name
Switch folder paths to tenacity

Signed-off-by: Ajay Ramachandran <dev@ajay.app>
2021-07-22 14:16:19 +00:00
Emily Mabrey
d13af8d454
Resume testing all PRs, not just ones on master
The current configuration doesn't test my PRs on non-`master`.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-07-19 03:37:34 -04:00
Be
8f67eb587b GH Actions: remove link.EXE from Git for Windows
Signed-off-by: Be <be@mixxx.org>
2021-07-17 19:30:27 +00:00
Be
0e84ddc446 GH Actions: use GCC on macOS
Signed-off-by: Be <be@mixxx.org>
2021-07-17 19:30:27 +00:00
Be
e2864f5efc
GH Actions: ccache on macOS & Linux; sccache on Windows
Signed-off-by: Be <be@mixxx.org>
2021-07-15 08:34:24 -05:00
Be
9c4fecd913
GH Actions: use Ninja CMake generator on Windows
MSBuild does not work with CMake's
CMAKE_C_COMPILER_LAUNCHER / CMAKE_CXX_COMPILER_LAUNCHER
for compiler caching.

Signed-off-by: Be <be@mixxx.org>
2021-07-15 08:34:24 -05:00
Be
05573da353
GH Actions: use Unix Makefiles CMake generator on macOS
The XCode generator does not work with CMake's
CMAKE_C_COMPILER_LAUNCHER / CMAKE_CXX_COMPILER_LAUNCHER
for compiler caching.

Signed-off-by: Be <be@mixxx.org>
2021-07-15 08:34:24 -05:00
Emily Mabrey
abaca39133
Fix funding.yml
The organization is `tenacityteam` not `tenacity`.

Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>
2021-07-14 17:53:12 -04:00
Emily Mabrey
0d7fde3a0d
Add funding.yml and badge to README.md (#268)
* Added donation information
Signed-off-by: caughtquick <me@caughtquick.tech>

* Add Open Collective Badge to README

Add SVG badge to `README.md` showing number of financial contributors

Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>

Co-authored-by: caughtquick <me@caughtquick.tech>
2021-07-14 16:55:44 -04:00