summaryrefslogtreecommitdiffstats
path: root/.github/workflows/mac.yml
AgeCommit message (Collapse)Author
2020-12-17GitHub Actions: better job namesGravatar Dirk Hohndel
This makes it more obvious which action actually failed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-12-17build-system: configure git when running GitHub ActionGravatar Dirk Hohndel
In order to apply the patches for Kirigami, git insists on having a valid user name and email. Also, don't build the mobile app when preparing the AppImage. That build already takes way too long and we test this in a few other actions. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-11-12build-system: giving up on TestGitStorageGravatar Dirk Hohndel
It is completely incomprehensible why these fail. And why randomly restarting sometimes fixes them, and often doesn't. At this point there is no incremental value in having this test. If it were to ever catch a real bug, we wouldn't realize it because we are too well trained to ignore the problem. Very disappointing, but IMHO the right thing to do. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-30build-system: add libmtp for Linux and macOSGravatar Dirk Hohndel
Since MXE doesn't offer libmtp I'll need to add code to manually build libmtp there. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-24test: manually run gitStorageTestGravatar Dirk Hohndel
This way we should see the output and hopefully be able to figure out why that silly test keeps randomly failing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-04-30Github Actions: don't bundle mac appGravatar Dirk Hohndel
There's no point in doing that since the app directory this creates is broken on older macOS versions, anyway (and we create a working DMG through a webhook). Additionally, lately this has started to fail on GitHub, so let's just rip this out. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-04-15testing/git-storage: don't override test accountsGravatar Dirk Hohndel
We now have a much better way of dealing with the issue of colliding tests inside the test. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-01-04GitHub Actions: change passwords to be hard codedGravatar Dirk Hohndel
As much as I hate having passwords exposed through the source code, since GitHub wisely prevents reading secrets in pull requests, there isn't really a sane way to have this use confidential credentials. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-01-01GitHub Actions: better grouping of test stepsGravatar Dirk Hohndel
This is a bit more convoluted to do inside of the Ubuntu 19.10 container, but at least for Ubuntu 14.04 and for Mac this will be an improvement. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-01-01GitHub Actions: use custom logins for cloud testsGravatar Dirk Hohndel
This should reduce the risk of stepping on top of each other. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-12-30GitHub Actions: run the tests on Mac and Ubuntu 18.04/Qt 5.9 desktopGravatar Dirk Hohndel
We lost running the tests when migrating to GitHub Actions... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-12-30GitHub Actions: install missing Homebrew packages to run testsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-11-22GitHub Actions: don't add macOS artifacts to releaseGravatar Dirk Hohndel
We now get a working macOS DMG for each CICD release via the webhook - and the GitHub built .app.zip only worked on the latest macOS and was near-unusable there. We still make it available as an artifact of that macIS GitHub action in case there is some value, but we no longer push it into the GitHub release artifacts. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-11-18GitHub actions: fix macOS artifact uploadGravatar Dirk Hohndel
Previously this created a bogus Subsurface.app.zip.zip file and then failed to upload it to the release. The upload / download pair of default actions is happier with just the folder. And then the creation of the zip file needs the '-r' switch. Oops. Finally, the pull-request specific uploads as build artifact are completely redundant since we already do this to move the data from the macOS build to the container that runs our own publish action in the first place. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-27GitHub Actions: switch back to the GitHub artifacts for PRsGravatar Dirk Hohndel
transfer.sh has suddenly started to time out. And for the rather occasional need of having a binary to test from a PR, this should be good enough. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-25GitHub Actions: fix several errors in previous commitsGravatar Dirk Hohndel
I have no excuse. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-25GitHub Actions: only build pushes into and PR against masterGravatar Dirk Hohndel
This should fix the odd double builds for people who create branches for pull requests in the main repository. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-25GitHub Actions: push to transfer.sh for PRs, post release for pushesGravatar Dirk Hohndel
This means that PRs from people using the main repo for their staging branches will get both transfer.sh and a release. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-25GitHub Actions: run them on pull requests as wellGravatar Dirk Hohndel
I wonder if this will cause issues where the actions sometimes run twice. But we'll deal with that rather than dealing with not having the tests on pull requests. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-18GitHub Actions: post releasesGravatar Dirk Hohndel
This so far just works on push and hopefullt pull requests, not for tags and therefore actual releases. In order not to conflict with the binaries from Travis, I changed the name to "ci-release" instead of "continuous". Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-14GitHub Actions: first CI/CD build for Mac based on GitHub ActionsGravatar Dirk Hohndel
This feature is in beta right now and might change without notice, but instead of dealing with the broken Travis Mac builds, this does seem progress. The build artifact seems to work, but it's a bit more painful to get to. Go to https://github.com/Subsurface-divelog/subsurface/actions and click on the corresponding run - it's then in the top right corner under Artifacts. The one oddity is that after unzipping the file you need to manually make Contents/MacOS/Subsurface executable. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>