Skip to content

Commit 4a849e8

Browse files
authored
Update sw.yml
1 parent d2bdb8c commit 4a849e8

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/sw.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,21 @@ jobs:
3737
path: .sw/out
3838

3939
macos:
40-
runs-on: macos-13
40+
runs-on: macos-latest
4141
steps:
4242
- uses: actions/checkout@v1
4343
- uses: egorpugin/sw-action@master
4444
- name: install
45-
run: brew install flex bison gcc
45+
run: |
46+
brew update
47+
brew install flex bison gcc llvm
4648
- name: build
4749
run: |
48-
export PATH="/usr/local/opt/flex/bin:$PATH"
49-
export PATH="/usr/local/opt/bison/bin:$PATH"
50-
export PATH="/usr/local/opt/gcc/bin:$PATH"
51-
./sw -static build -compiler gcc
50+
export PATH="/opt/homebrew/opt/bison/bin:$PATH"
51+
export PATH="/opt/homebrew/opt/flex/bin:$PATH"
52+
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
53+
export PATH="/opt/homebrew/opt/gcc/bin:$PATH"
54+
./sw -static build
5255
- uses: actions/upload-artifact@v4
5356
with:
5457
name: sw

0 commit comments

Comments
 (0)