diff --git a/.github/workflows/llvm.yml b/.github/workflows/llvm.yml index caa9086..9067172 100644 --- a/.github/workflows/llvm.yml +++ b/.github/workflows/llvm.yml @@ -5,7 +5,7 @@ on: pull_request: branches: [ main ] jobs: - default-compiler: #in sense of CMake's identification - gollvm is indeed Clang oriented + clang9_build: #in sense of CMake's identification - gollvm is indeed Clang oriented runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -29,7 +29,7 @@ jobs: run: cd $GITHUB_WORKSPACE/clang_test_cpu_features && git clone https://github.com/llvm/llvm-project.git && cd llvm-project/llvm/tools && git clone https://go.googlesource.com/gollvm && cd gollvm && git clone https://go.googlesource.com/gofrontend && cd libgo && git clone https://github.com/libffi/libffi.git && git clone https://github.com/ianlancetaylor/libbacktrace.git - name: Compiling & linking gollvm run: cd $GITHUB_WORKSPACE/clang_test_cpu_features && mkdir build_release && cd build_release && cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 -G Ninja ../llvm-project/llvm && ninja -j16 gollvm && ninja GoBackendCoreTests && ./tools/gollvm/unittests/BackendCore/GoBackendCoreTests && sudo ninja install-gollvm - clang9-build: #in sense of CMake's identification - gollvm is indeed Clang oriented + gcc_compat_build: #in sense of CMake's identification - gollvm is indeed Clang oriented runs-on: ubuntu-latest steps: - uses: actions/checkout@v2