Skip to content

Commit 6b7228f

Browse files
committed
Update macos and ubuntu runners
1 parent d31f57d commit 6b7228f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,28 @@ jobs:
1010
matrix:
1111
TARGET:
1212
- {
13-
OS: 'ubuntu-20.04',
13+
OS: 'ubuntu-22.04',
1414
CFLAGS: '-static -fno-stack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0',
1515
HOST: 'i386-pc-linux',
1616
ARCHIVE_NAME: 'mips-binutils-egcs-2.9.5-linux.tar.gz',
1717
HOST_GCC: 'gcc'
1818
}
1919
- {
20-
OS: 'macos-13',
20+
OS: 'macos-15-intel',
2121
CFLAGS: '-DDARWIN -Wno-implicit-int -Wno-return-type -Wno-error -Wno-implicit-function-declaration -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0',
2222
HOST: 'i386-apple-darwin',
2323
ARCHIVE_NAME: 'mips-binutils-egcs-2.9.5-macos.tar.gz',
2424
HOST_GCC: 'gcc-13'
2525
}
2626

27-
name: Building binutils for ${{ matrix.TARGET.OS }}
27+
name: Building binutils for ${{ matrix.TARGET.HOST }}
2828
steps:
29-
- uses: actions/checkout@v4
29+
- name: Checkout repository
30+
uses: actions/checkout@main
3031

3132
- name: Install dependencies (Ubuntu)
3233
shell: bash
33-
if: matrix.TARGET.OS == 'ubuntu-20.04'
34+
if: matrix.TARGET.OS == 'ubuntu-22.04'
3435
run: |
3536
sudo apt-get update
3637
sudo apt-get install -y build-essential bison file gperf flex
@@ -76,9 +77,9 @@ jobs:
7677
cd release && tar -czf ../${{ matrix.TARGET.ARCHIVE_NAME }} *
7778
7879
- name: Upload archive
79-
uses: actions/upload-artifact@v3
80+
uses: actions/upload-artifact@main
8081
with:
81-
name: mips-binutils-egcs-2.9.5-${{ matrix.TARGET.OS }}
82+
name: mips-binutils-egcs-2.9.5-${{ matrix.TARGET.HOST }}
8283
path: |
8384
${{ matrix.TARGET.ARCHIVE_NAME }}
8485

0 commit comments

Comments
 (0)