Skip to content

Commit

Permalink
Updated the build for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRT committed Oct 3, 2024
1 parent a2c46d5 commit fe6303c
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,23 @@ jobs:
platform-check-severity: warn
install: autoconf automake m4 pkg-config libtool base-devel mingw-w64-x86_64-toolchain
path-type: inherit # to find julia!
- name: Install autoconf if the target system is macOS
run: |
brew install autoconf automake libtool

- name: set git to use LF on Windows
if: contains(matrix.sys.os, 'windows')
run: |
git config --system core.autocrlf false
git config --system core.eol lf
- uses: actions/checkout@v2
- name: Install autotools if the system is macOS
if: contains(matrix.sys.os, 'windows')
run: |
brew install autoconf
brew install automake
brew install m4
brew install pkg-config
brew install libtool
- uses: actions/checkout@v3
- name: configure the library and build
run: |
which gcc
Expand All @@ -67,4 +75,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: parser-library
path: ${{github.workspace}}/${{matrix.sys.os}}-library.tar.gz
path: ${{github.workspace}}/${{matrix.sys.os}}-library.tar.gz

0 comments on commit fe6303c

Please sign in to comment.