From e9833fc8af890a14dabb780b4e498d9946da9b6b Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Sat, 7 Nov 2020 16:54:24 +0000 Subject: [PATCH] Add initial Github Actions workflow. --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..fdd09434 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: CI + +on: [push, pull_request] + +jobs: + build-linux: + strategy: + matrix: + config: + - { os: ubuntu-20.04, cc: "gcc-7", cxx: "g++-7" } + + runs-on: ${{ matrix.config.os }} + + env: + CC: ${{ matrix.config.cc }} + CXX: ${{ matrix.config.cxx }} + + steps: + - uses: actions/checkout@v2 + + - name: Build + run: | + source build/InstallMono.sh && + build/InstallNugets.sh && + build/premake.sh --file=build/scripts/LLVM.lua download_llvm && + build/Compile.sh && + build/RunTests.sh