Skip to content

Commit d1ed7de

Browse files
committedMar 21, 2025
[check.yml] Update MacOS runner and re-enable MacOS precommit action
The path of the `sed` binary on MacOS has changed going from Intel (macos-13) to M1 (macos-15). [check.yml]
1 parent edb0a69 commit d1ed7de

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed
 

‎.github/workflows/check.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,24 @@ jobs:
1818
matrix:
1919
cfg:
2020
- { name: 'Linux', os: 'ubuntu-24.04' }
21-
# - { name: 'MacOS', os: 'macos-13' }
21+
- { name: 'MacOS', os: 'macos-15' }
2222

2323
steps:
2424
- name: checkout
2525
uses: actions/checkout@v4
2626

2727
- name: install GNU tools
28-
if: matrix.cfg.os == 'macos-13'
28+
if: matrix.cfg.os == 'macos-15'
2929
run: |
3030
brew install gnu-sed
31-
echo "/usr/local/opt/gnu-sed/libexec/gnubin" >> ${GITHUB_PATH}
31+
echo "/opt/homebrew/opt/gnu-sed/libexec/gnubin" >> ${GITHUB_PATH}
3232
3333
- name: check-source.sh
3434
run: ../tools/check-source.sh
3535

3636
- name: update brew
37-
if: matrix.cfg.os == 'macos-13'
38-
run: |
39-
brew update
37+
if: matrix.cfg.os == 'macos-15'
38+
run: brew update
4039

4140
- name: update-apt-cache
4241
if: matrix.cfg.os == 'ubuntu-24.04'
@@ -47,20 +46,20 @@ jobs:
4746
run: sudo apt-get install latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended lmodern
4847

4948
- name: install (MacOS)
50-
if: matrix.cfg.os == 'macos-13'
49+
if: matrix.cfg.os == 'macos-15'
5150
run: |
5251
brew install basictex
5352
eval "$(/usr/libexec/path_helper)"
5453
echo "PATH=${PATH}" >> ${GITHUB_ENV}
5554
sudo tlmgr update --self
56-
sudo tlmgr install latexmk isodate substr relsize ulem fixme rsfs extract layouts enumitem l3packages l3kernel imakeidx splitindex xstring
55+
sudo tlmgr install latexmk isodate substr relsize ulem fixme rsfs environ layouts enumitem l3packages l3kernel imakeidx splitindex xstring
5756
5857
- name: make (Linux)
5958
if: matrix.cfg.os == 'ubuntu-24.04'
6059
run: make quiet
6160

6261
- name: make (MacOS)
63-
if: matrix.cfg.os == 'macos-13'
62+
if: matrix.cfg.os == 'macos-15'
6463
run: make full
6564

6665
- name: check-output.sh

0 commit comments

Comments
 (0)