]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore: upgrade QEMU to v2 for build
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 3 Sep 2022 18:24:52 +0000 (19:24 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 4 Sep 2022 09:24:54 +0000 (10:24 +0100)
Also make sure to use a version not affected by bug #304

.github/workflows/packages.yml

index 0f510920f7868db07032e85c1558ebd8592ba8e3..d392c6940bdbaf8b4cc7e74d574263a482f49170 100644 (file)
@@ -95,7 +95,12 @@ jobs:
       - uses: actions/checkout@v2
 
       - name: Set up QEMU for multi-arch build
-        uses: docker/setup-qemu-action@v1
+        # Check https://github.com/docker/setup-qemu-action for newer versions.
+        uses: docker/setup-qemu-action@v2
+        with:
+          # Note: 6.2.0 is buggy: make sure to avoid it.
+          # See https://github.com/pypa/cibuildwheel/issues/1250
+          image: tonistiigi/binfmt:qemu-v7.0.0
 
       - name: Cache libpq build
         uses: actions/cache@v3