mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-27 03:38:55 -06:00
test
This commit is contained in:
40
.github/workflows/build-majestic.yml
vendored
40
.github/workflows/build-majestic.yml
vendored
@@ -7,9 +7,9 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
ubuntu-runtime:
|
linux-runtime:
|
||||||
name: Runtime (Ubuntu)
|
name: Runtime (Linux)
|
||||||
runs-on: ubuntu-20.04
|
runs-on: linux-20.04
|
||||||
container:
|
container:
|
||||||
image: quay.io/pypa/manylinux2014_x86_64:2023-01-14-103cb93
|
image: quay.io/pypa/manylinux2014_x86_64:2023-01-14-103cb93
|
||||||
|
|
||||||
@@ -27,22 +27,22 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@master
|
uses: actions/upload-artifact@master
|
||||||
with:
|
with:
|
||||||
name: libpgf-ubuntu
|
name: libpgf-linux
|
||||||
path: |
|
path: |
|
||||||
/usr/local/lib/libpgf*
|
/usr/local/lib/libpgf*
|
||||||
/usr/local/include/pgf
|
/usr/local/include/pgf
|
||||||
|
|
||||||
ubuntu-haskell:
|
linux-haskell:
|
||||||
name: Haskell (Ubuntu)
|
name: Haskell (Linux)
|
||||||
runs-on: ubuntu-20.04
|
runs-on: linux-20.04
|
||||||
needs: ubuntu-runtime
|
needs: linux-runtime
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@master
|
uses: actions/download-artifact@master
|
||||||
with:
|
with:
|
||||||
name: libpgf-ubuntu
|
name: libpgf-linux
|
||||||
- run: |
|
- run: |
|
||||||
sudo mv lib/* /usr/local/lib/
|
sudo mv lib/* /usr/local/lib/
|
||||||
sudo mv include/* /usr/local/include/
|
sudo mv include/* /usr/local/include/
|
||||||
@@ -57,17 +57,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cabal test --extra-lib-dirs=/usr/local/lib
|
cabal test --extra-lib-dirs=/usr/local/lib
|
||||||
|
|
||||||
ubuntu-python:
|
linux-python:
|
||||||
name: Python (Ubuntu)
|
name: Python (Linux)
|
||||||
runs-on: ubuntu-20.04
|
runs-on: linux-20.04
|
||||||
needs: ubuntu-runtime
|
needs: linux-runtime
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@master
|
uses: actions/download-artifact@master
|
||||||
with:
|
with:
|
||||||
name: libpgf-ubuntu
|
name: libpgf-linux
|
||||||
|
|
||||||
- name: Install cibuildwheel
|
- name: Install cibuildwheel
|
||||||
run: |
|
run: |
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install and test bindings
|
- name: Install and test bindings
|
||||||
env:
|
env:
|
||||||
CIBW_BEFORE_BUILD: cp lib/* /usr/lib/ && cp include/* /usr/include/
|
CIBW_BEFORE_BUILD: cp -r lib/* /usr/lib/ && cp -r include/* /usr/include/
|
||||||
CIBW_TEST_REQUIRES: pytest
|
CIBW_TEST_REQUIRES: pytest
|
||||||
CIBW_TEST_COMMAND: "(cd {project}/src/runtime/python; pytest)"
|
CIBW_TEST_COMMAND: "(cd {project}/src/runtime/python; pytest)"
|
||||||
CIBW_SKIP: pp*
|
CIBW_SKIP: pp*
|
||||||
@@ -87,17 +87,17 @@ jobs:
|
|||||||
name: python-linux
|
name: python-linux
|
||||||
path: ./wheelhouse
|
path: ./wheelhouse
|
||||||
|
|
||||||
# ubuntu-javascript:
|
# linux-javascript:
|
||||||
# name: JavaScript (Ubuntu)
|
# name: JavaScript (Linux)
|
||||||
# runs-on: ubuntu-20.04
|
# runs-on: linux-20.04
|
||||||
# needs: ubuntu-runtime
|
# needs: linux-runtime
|
||||||
#
|
#
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
# - name: Download artifact
|
# - name: Download artifact
|
||||||
# uses: actions/download-artifact@master
|
# uses: actions/download-artifact@master
|
||||||
# with:
|
# with:
|
||||||
# name: libpgf-ubuntu
|
# name: libpgf-linux
|
||||||
# - run: |
|
# - run: |
|
||||||
# sudo mv lib/* /usr/local/lib/
|
# sudo mv lib/* /usr/local/lib/
|
||||||
# sudo mv include/* /usr/local/include/
|
# sudo mv include/* /usr/local/include/
|
||||||
|
|||||||
Reference in New Issue
Block a user