From 3193d57ac19d7c1115c87e103136c4e3a68fb3cc Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 28 Mar 2020 21:35:45 -0400 Subject: [PATCH] ci: attempt to fix CI It looks like a2x isn't working, so take a shot at fixing it. --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afaac5c5..96d931e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,8 @@ jobs: TARGET_DIR: ./target # Emit backtraces on panics. RUST_BACKTRACE: 1 + # Apparently needed to use a2x on macOS. + XML_CATALOG_FILES: /usr/local/etc/xml/catalog runs-on: ${{ matrix.os }} strategy: matrix: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index becee69f..0db0d8b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,6 +75,8 @@ jobs: RUST_BACKTRACE: 1 # Build static releases with PCRE2. PCRE2_SYS_STATIC: 1 + # Apparently needed to use a2x on macOS. + XML_CATALOG_FILES: /usr/local/etc/xml/catalog strategy: matrix: build: [linux, linux-arm, macos, win-msvc, win-gnu, win32-msvc]