mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
another attempt to fix compilation on macOS
This commit is contained in:
34
.github/workflows/build-majestic.yml
vendored
34
.github/workflows/build-majestic.yml
vendored
@@ -167,37 +167,6 @@ jobs:
|
|||||||
/usr/local/lib/libpgf*
|
/usr/local/lib/libpgf*
|
||||||
/usr/local/include/pgf
|
/usr/local/include/pgf
|
||||||
|
|
||||||
macos-xlarge-runtime:
|
|
||||||
name: Runtime (macOS ARM)
|
|
||||||
runs-on: macos-latest-xlarge
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install build tools
|
|
||||||
run: |
|
|
||||||
brew install \
|
|
||||||
autoconf \
|
|
||||||
automake \
|
|
||||||
libtool \
|
|
||||||
|
|
||||||
- name: Build runtime
|
|
||||||
working-directory: ./src/runtime/c
|
|
||||||
run: |
|
|
||||||
glibtoolize
|
|
||||||
autoreconf -i
|
|
||||||
./configure
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
|
|
||||||
- name: Upload artifact
|
|
||||||
uses: actions/upload-artifact@master
|
|
||||||
with:
|
|
||||||
name: libpgf-macos
|
|
||||||
path: |
|
|
||||||
/usr/local/lib/libpgf*
|
|
||||||
/usr/local/include/pgf
|
|
||||||
|
|
||||||
macos-haskell:
|
macos-haskell:
|
||||||
name: Haskell (macOS)
|
name: Haskell (macOS)
|
||||||
runs-on: macOS-11
|
runs-on: macOS-11
|
||||||
@@ -230,6 +199,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
EXTRA_INCLUDE_DIRS: /usr/local/include
|
EXTRA_INCLUDE_DIRS: /usr/local/include
|
||||||
EXTRA_LIB_DIRS: /usr/local/lib
|
EXTRA_LIB_DIRS: /usr/local/lib
|
||||||
|
MACOSX_DEPLOYMENT_TARGET: 11.0
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@@ -249,7 +219,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CIBW_TEST_REQUIRES: pytest
|
CIBW_TEST_REQUIRES: pytest
|
||||||
CIBW_TEST_COMMAND: "pytest {project}/src/runtime/python"
|
CIBW_TEST_COMMAND: "pytest {project}/src/runtime/python"
|
||||||
CIBW_SKIP: "pp* cp36* cp37*"
|
CIBW_SKIP: "pp* cp36*"
|
||||||
run: |
|
run: |
|
||||||
python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse
|
python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user