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

25 Commits

Author SHA1 Message Date
Emily Mabrey
7450432f9a
Attempt to fix macOS build issues
Add `umount` command behavior
Modify to retry 12 times over the course of 240 seconds total
Change `scripts\build\macOS\DMGSetup.scpt` to close DMG when finished.
Improve system detection for setting project name.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-06 02:06:04 -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
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
Emily Mabrey
4848dea701
Increase retries in repeat_hdiutil.sh script (#444)
* Increase retries in `repeat_hdiutil.sh` script

Increase both time between tries and number of tries.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>

* Modify config values

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-08-09 09:18:31 -05:00
Emily Mabrey
e06af5bb29
Fix MacOS hdiutil CMake parallelization issue
* Make CMake builds better parallelized
* Update CI Build script parallelization
* Make `repeat_hdiutil.sh` take longer between repeats
* Make sure that bash is the latest version on CI builds.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/391
2021-07-26 23:55:44 -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
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
Emily Mabrey
63e882ff96
Correct MacOS CPack configuration (#334)
* Make the `repeat_hdiutil.sh` script more clear about retry counts.
* Change usage of `$@` to `"$@"` to pass args correctly
* Fix `CPACK_COMMAND_HDIUTIL` generation
* Switch `package.sh` to use `$GITHUB_WORKSPACE`
* Make `repeat_hdiutil.sh` executable
* Remove `set +x` and `set -x` options

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-07-23 16:25:13 -04: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
Be
49015e77d0
Remove audacity_ prefix from CMake options
It is unconventional and unnecessary to prefix CMake options. Also
this is not Audacity anymore. :)

Signed-off-by: Be <be@mixxx.org>
2021-07-11 19:51:02 +00:00
Emily Mabrey
61f9227f67
Reattempt fixing MacOS build problem related to CPack issue (#198)
* Undo non-working Mac OS CI build fix in build_dist.sh
* Implement CPack workaround for CMake PR #4769
* Fix typo in scripts/ci/package.sh
* Fix typo in scripts/ci/package.sh
* Add debug option for hdiutil_repeat.sh
* Make reviewer changes
* Change typo in package.sh with hdiutil script name.
* Change path reference in package.sh to use $PWD.
* Add strings to escape path in scripts/ci/package.sh
* Fix scripts/ci/macos/repeat_hdiutil.sh
* Remove -e option. Don't copy/paste without double checking closely I guess. 😐
* 💲 Add dollar signs where appropriate as reviewers pointed out.
* Replace until/do contents with easier to read if block.
* Cleanup readability of scripts/ci/macos/repeat_hdiutil.sh
* Add $wait_before_retry config value
* Replace $cmd_string with literal value
* Move do onto same line as until.
* Minor changes to fix for MacOS CMake builds
* Rename variable in scripts/ci/macos/repeat_hdiutil.sh
* Use . instead of pwd in package.sh

Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>
2021-07-10 19:47:54 -04:00
Emily Mabrey
8c0cd2c688
Fix MacOS package step packaging target directory
Change it to avoid generating the pre-fork repository folder structure for usage inside of a Github Action (which causes it to fail because the directories don't exist).
2021-07-05 17:21:54 -04:00
Cookie Engineer
5728dd542f
💩 Remove Update Check 2021-07-04 10:20:24 +02:00
Cookie Engineer
bbf352d36d
💩 Remove Sentry Reporting 2021-07-04 10:19:04 +02:00
gera
0ab6aefe11 Merge with master and resolve CI configure script conflict. 2021-06-18 09:46:40 -04:00
Peter Jonas
de2213ea2c Generate AppImage on GitHub Actions
Fixes #695. Supersedes #172. See https://appimage.org/.
2021-06-16 11:00:16 -04:00
Vitaly Sverchinsky
2e0e3b4162 CI script fixes (sentry symbols upload) 2021-06-16 07:00:48 -07:00
Dmitry Vedenko
5f05b798f6 Fixes the way GIT_BRANCH is evalueated 2021-06-16 05:07:31 -07:00
Dmitry Vedenko
6da25e1646 Add targets for packaging DMG and InnoSetup
Fixes configure.sh

Fixes Windows code signing

Fixes an issue with conan cache on windows

Fixes build manual script

Fixes build manual

Remove unused props

Use long options

Yet another manual fix

Fixes iss
2021-06-16 05:07:31 -07:00
Vitaly Sverchinsky
08b1987ea3 sentry url fix 2021-06-15 22:44:09 +03:00
Vitaly Sverchinsky
e8b186a9b4 Crashreporting 2021-06-15 22:44:07 +03:00
Peter Jonas
4b5c95d7fe Move GitHub Actions CI scripts into separate files
Break the workflow into smaller stages (Configure, Build, Install,
Package, etc.) so that you can see exactly which stage failed in the
GitHub Actions run log.

Create a separate Bash CI script for each job stage (configure.sh,
build.sh, install.sh, package.sh, etc.) to reduce the size of the main
YAML workflow file and enable Bash syntax highlighting.

Close #917
2021-06-10 10:09:49 -07:00