From 43d1cdb67ed135879869b5266f01efaaada5e35a Mon Sep 17 00:00:00 2001 From: Antabuse <64858450+Antabuse-123@users.noreply.github.com> Date: Wed, 14 Aug 2024 15:51:06 +0200 Subject: [PATCH] feat: added build for mac arm (#10) * feat: added build for mac arm * fix: Use fix version number instead of latest --- .github/workflows/build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dbc8789..0a199f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,11 +16,17 @@ jobs: ARCHIVE_NAME: 'gcc-2.7.2-linux.tar.gz' } - { - OS: 'macos-latest', - CFLAGS: '-DDARWIN -std=gnu89 -Wno-return-type -Wno-error -Wno-implicit-function-declaration', + OS: 'macos-13', + CFLAGS: '-DDARWIN -std=gnu89 -Wno-return-type -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion', HOST: 'i386-apple-darwin', ARCHIVE_NAME: 'gcc-2.7.2-mac.tar.gz' } + - { + OS: 'macos-14', + CFLAGS: '-DDARWIN -std=gnu89 -Wno-return-type -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion', + HOST: 'arm-apple-darwin', + ARCHIVE_NAME: 'gcc-2.7.2-mac-arm.tar.gz' + } name: Building gcc for ${{ matrix.TARGET.OS }} steps: