Skip to content

Commit a0c8bc5

Browse files
authored
ldconfig -p | grep libmagic || true
1 parent 6f106d7 commit a0c8bc5

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,30 @@ jobs:
88
os: ['ubuntu-latest']
99
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1010
include:
11-
- os: macos-latest
11+
- os: macos-13 # Intel
1212
python-version: '3.13'
13-
- os: ubuntu-22.04-arm
13+
- os: macos-latest # ARM
14+
python-version: '3.13'
15+
- os: ubuntu-22.04-arm # ARM
1416
python-version: '3.13'
1517
- os: windows-latest # TODO: Fix the Windows test that runs in an infinite loop
1618
python-version: '3.13'
19+
- os: windows-2025
20+
python-version: '3.13'
1721
runs-on: ${{ matrix.os }}
1822
steps:
23+
- if: runner.os == 'Linux'
24+
run: ldconfig -p | grep libmagic || true
25+
- if: matrix.os == 'ubuntu-latest' # Not on ARM.
26+
run: conda install -c conda-forge libmagic
27+
- if: runner.os == 'Linux'
28+
run: ldconfig -p | grep libmagic || true
1929
- if: runner.os == 'Linux'
2030
run: | # libmagic1 is pre-installed in GitHub Actions Ubuntu runners
21-
conda install -c conda-forge libmagic
2231
sudo apt-get update
2332
sudo apt-get install -y libmagic-dev libmagic1
33+
- if: runner.os == 'Linux'
34+
run: ldconfig -p | grep libmagic || true
2435
- if: runner.os == 'macOS'
2536
run: brew install libmagic
2637
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)