summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
AgeCommit message (Collapse)AuthorFilesLines
2024-05-21ci: mark docker image jobs as placeholder jobsTim-Philipp Müller1-0/+3
They finish fairly quickly in most cases and even if they need to rebuild the image they won't use a lot of cpu resources. This way these jobs don't have to compete with the normal job queue and things get started a bit quicker. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1455>
2024-05-21ci: mark pre-commit checks job as placeholder jobTim-Philipp Müller1-0/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1455>
2024-05-20ci: Truncate cerbero builddir to "cb" to address long path issuesNirbheek Chauhan1-1/+1
There really is no fix, apparently, other than keeping the path short. Too many things break if your paths become longer than 260 characters. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1464>
2024-05-20cerbero: shorten builddir pathTim-Philipp Müller1-18/+18
Attempt to shorten overall path length for webrtc-audio-processing's abseil subproject. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1464>
2024-05-01ci: fix gitlab warning when creating artifacts archiveTim-Philipp Müller1-0/+18
"Part of .git directory is on the list of files to archive" Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1464>
2024-03-05ci: update for 1.24 branchTim-Philipp Müller1-3/+3
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1397>
2024-02-24ci: use --clocktime to print absolute timestamps as wellTim-Philipp Müller1-0/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1381>
2024-01-25ci: improve pre-commit error reportingAndoni Morales Alastruey1-1/+1
Enable the --show-diff-on-failure flag to show generated diff by the hooks Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1329>
2024-01-12ci: cache pre-commit deps in runnersAndoni Morales Alastruey1-2/+3
Rather than creating a single docker image reused by all users that needs to be manually updated in case a pre-commit dependency changes, cache pre-commit dependencies in each runner. Fix #460 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1322>
2024-01-09lint: add ruff linter to pre-commitAndoni Morales Alastruey1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1315>
2024-01-09ci: add source checks using pre-commitAndoni Morales Alastruey1-0/+35
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1315>
2023-10-31ci: Rework rules for the deps msvc jobsJordan Petridis1-4/+6
Previously !1250 introduced new rules to avoid running the jobs in scheduled pipelines, but that ended up overriding the rules inherited by the '.cerbero deps' template job. Copy the existing rules .cerbero not-mr rules and append the schedule condition onto them. Followup to https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1250 Close #452 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1275>
2023-10-26gitlab: update macos ci image to 14.0 (sonoma)Matthew Waters1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1289>
2023-09-11ci: add x86 msi package job as wellTim-Philipp Müller1-0/+6
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1250>
2023-09-11ci: run msi package job for scheduled pipelinesTim-Philipp Müller1-1/+15
.. and not the normal 'cerbero deps msvc x86_64' one. We have to work around a gitlab bug here where the whole pipeline blocks on manual jobs that are made manual via rules. The 'allow_failure: true' bit is the recommended workaround for that until it gets fixed properly. https://gitlab.com/gitlab-org/gitlab/-/issues/39534#note_458110925 https://gitlab.com/gitlab-org/gitlab/-/merge_requests/24605 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1250>
2023-09-08ci: trigger pipeline automatically if it was created by a scheduleTim-Philipp Müller1-0/+2
.. but don't regen and upload caches for scheduled pipelines on main. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1250>
2023-08-31ci: use fd.o registry for macos imagesMatthew Waters1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1260>
2023-08-22ci: disable macos x86 host jobsMatthew Waters1-0/+2
The macos arm64 runners cover 99% of this functionality and the existing x86 runners are quite old and slow. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1252>
2023-08-01ci: disable ios jobs on the x86 hostMatthew Waters1-0/+4
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1241>
2023-07-31ci: update macos/arm64 imageMatthew Waters1-2/+1
Now includes xz. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1236>
2023-07-27ci: mark macos arm64 as manual for nowMatthew Waters1-0/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1237>
2023-07-26gitlab: disable cache for macos/ios jobsMatthew Waters1-0/+3
All job environments are reset from scratch and no caching is done between jobs. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1231>
2023-07-26ci: implement support for arm64 macos CIMatthew Waters1-18/+70
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1595#note_2014383 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1231>
2023-07-26gitlab: only use fedora image in the relevant jobsMatthew Waters1-8/+26
e.g. macos/iOS/msvc jobs don't need to depend on the fedora docker image build Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1231>
2023-07-26cerbero/gitlab add rules block for gstreamer mr vs not-mrMatthew Waters1-20/+32
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1231>
2023-07-26cerbero: Allow running from cmd or powershellNirbheek Chauhan1-0/+2
It will simply find MSYS2 and invoke it. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1226>
2023-07-19ci: cerbero msvc trigger job is msvc, not mingw...Nirbheek Chauhan1-3/+3
Trigger jobs were trying to build using mingw and failing to find an artifacts cache, really silly stuff. https://gitlab.freedesktop.org/gstreamer/cerbero/-/jobs/45780280 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1223>
2023-07-17ci: Switch image back to the gstreamer namespaceNirbheek Chauhan1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1218>
2023-07-17ci: Update windows image tag for building with MSYS2Nirbheek Chauhan1-1/+1
Will move to the equivalent one on the gstreamer registry once the corresponding MR is merged. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1216>
2023-07-17ci: Add manual native mingw jobs for testingNirbheek Chauhan1-2/+21
It's too expensive to run these all the time, but they're useful to have around when we need to test something that might have a breaking toolchain change. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1216>
2023-07-17ci: Use MSYS2 instead of MSYS for CINirbheek Chauhan1-9/+8
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1216>
2023-07-12ci: Update to latest Windows image with VS 2022Nirbheek Chauhan1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1214>
2023-06-08ci: update build image to refresh cached dataMatthew Waters1-1/+1
Like the updated NDK and an updated sources cache. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1203>
2023-06-05ci: also save cmake logs in job artefactsTim-Philipp Müller1-0/+12
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1196>
2023-06-04ci: print process limits in build on linuxMatthew Waters1-0/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1191>
2023-06-04ci/android/examples: actually upload the resulting apksMatthew Waters1-5/+6
Deleting the gstreamer directory in after_script includes the output directory. Move the output directory elsewhere so it isn't deleted. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1191>
2023-06-04ci: update android sdk/ndkMatthew Waters1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1191>
2023-05-25ci: Use gstreamer tagged runners for linux jobsJordan Petridis1-0/+3
As of right now the runners have been transitioned to executing with podman and being unprivillledged, and for the time being they only accept tagged jobs until the rest of the shared runners and project switch to unprivilledged configurations too. Same as https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4695 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1181>
2023-04-29ci: Don't use CERBERO_HOME in artifacts sectionsNirbheek Chauhan1-12/+12
Variable expansion does not take place in the same way in `artifacts:` and in `script:` — see: https://docs.gitlab.com/ee/ci/variables/where_variables_can_be_used.html#gitlab-ciyml-file Fixes artifact upload failure on Windows. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1173>
2023-04-25ci: Don't fetch tags when fetching branchesJordan Petridis1-0/+4
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1164>
2023-04-25ci: Don't trigger Branch pipelines if there is an open MRJordan Petridis1-3/+6
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1164>
2023-03-31ci: Add MESON_COMMIT variable to test Meson RC releasesXavier Claessens1-0/+3
GStreamer main repository has the same trick. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1154>
2023-03-27ci: Specify the path for the git cloneJordan Petridis1-2/+2
When cloning the gstreamer repo we were previously relynig on the repository name being "gstreamer", however its possible to rename your repository/fork in which case the CI would fail. Use a predictable name/path for the repo since we need to hardcode it into EXAMPLES_HOME variable as well. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1126>
2023-03-21ci: add manual job to generate MSI package with msvcStéphane Cerveau1-1/+17
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/821>
2023-03-20ci: add a job to create MSI package for gstreamer-1.0 from linuxStéphane Cerveau1-5/+17
The native windows build is now manual Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/821>
2023-02-14ci: Update images to fedora 37Jordan Petridis1-6/+6
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1109>
2023-01-27ci: Update windows image to latestNirbheek Chauhan1-1/+1
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1087>
2023-01-19ci: Fix spurious errors while building iOS / Android examplesNirbheek Chauhan1-7/+7
Run the build scripts through a shell script that checks the output and retries if the error was a known spurious error. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1076>
2023-01-18ci: Use new remote template syntaxNirbheek Chauhan1-1/+3
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1076>
2023-01-13ci: disable UWP builds for the time beingTim-Philipp Müller1-0/+4
GLib build needs some more fixing for UWP. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/864>