]> 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:25:02 +0000 (10:25 +0100)
Also make sure to use a version not affected by bug #304

.github/workflows/packages.yml

index e8a3fbf1595d631c3290de0e47f370a310ecf2a9..ad8febcbce46929e4f2cb461070c6e6beed5591f 100644 (file)
@@ -93,7 +93,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