mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
677 B
32 lines
677 B
name: CI |
|
|
|
on: [push, pull_request] |
|
|
|
jobs: |
|
build-linux: |
|
strategy: |
|
matrix: |
|
config: |
|
- { os: ubuntu-20.04, cc: "gcc-7", cxx: "g++-7" } |
|
- { os: macos-10.15, cc: "clang", cxx: "clang++" } |
|
|
|
runs-on: ${{ matrix.config.os }} |
|
|
|
env: |
|
CC: ${{ matrix.config.cc }} |
|
CXX: ${{ matrix.config.cxx }} |
|
|
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Setup |
|
run: | |
|
source build/InstallMono.sh && |
|
build/InstallNugets.sh && |
|
build/premake.sh --file=build/scripts/LLVM.lua download_llvm |
|
|
|
- name: Build |
|
run: build/Compile.sh |
|
|
|
- name: Test |
|
run: build/RunTests.sh |