ci: Remove the hack
authorMatthias Clasen <mclasen@redhat.com>
Thu, 4 May 2023 02:32:00 +0000 (22:32 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 4 May 2023 02:32:00 +0000 (22:32 -0400)
.gitlab-ci.yml

index d1e148d2eec7d055e3f52083ed52c6306dc73789..b152073e0bfc7128818d7801a97d8f1d5aabe7c8 100644 (file)
@@ -148,20 +148,8 @@ fedora-mingw64:
     - pip3 install --user meson~=1.0
     - meson subprojects download
     - meson subprojects update --reset
-      # Test that mingw64-meson still fails. If it has stopped failing, the CI
-      # will fail and now you should remove the hack that follows this.
-    - FAILED=false
-    - mingw64-meson --version || FAILED=true
-    - test $FAILED = false && echo "mingw64-meson works now, remove the hack" && exit 1
-      # HACK: Running mingw64-meson directly fails on the CI with:
-      #  /usr/bin/mingw64-meson: line 92: fg: no job control
-      # Because rpm is not evaluating %__meson and it gets interpreted as a job
-      # specifier. So we fix that and run it ourselves.
-    - rpm --eval "%{mingw64_meson}" > mingw64-meson.sh
-    - sed -i -e 's/%__meson/meson/' mingw64-meson.sh
-    - chmod +x mingw64-meson.sh
-    - ./mingw64-meson.sh -Dintrospection=disabled -Dgraphene:introspection=disabled _build
-    - ninja -C _build
+    - meson -Dintrospection=disabled -Dgraphene:introspection=disabled _build
+    - meson compile -C _build
 
 .mingw-defaults:
   stage: build