Skip to content

Commit

Permalink
feat: added build for mac arm (#10)
Browse files Browse the repository at this point in the history
* feat: added build for mac arm

* fix: Use fix version number instead of latest
  • Loading branch information
Antabuse-123 authored Aug 14, 2024
1 parent e6271f1 commit 43d1cdb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 43d1cdb

Please sign in to comment.