From f43260b357e4575ec187aaa32efba5865fce5d99 Mon Sep 17 00:00:00 2001 From: Ruizhe Zhao Date: Tue, 11 May 2021 00:21:50 +0100 Subject: [PATCH] Self host workflow (#6) * Try out self-hosted workflow * Reverted libclang prefix configure --- .github/workflows/buildAndTest.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/buildAndTest.yml b/.github/workflows/buildAndTest.yml index 9f7fd7df255..c5311f7cdf4 100644 --- a/.github/workflows/buildAndTest.yml +++ b/.github/workflows/buildAndTest.yml @@ -13,7 +13,7 @@ jobs: # cache. build-llvm: name: Build LLVM - runs-on: ubuntu-20.04 + runs-on: self-hosted steps: # Clone the Phism repo and its submodules. Do shallow clone to save clone # time. @@ -62,18 +62,18 @@ jobs: build-phism: name: Build and Test Phism needs: build-llvm - runs-on: ubuntu-20.04 + runs-on: self-hosted steps: # - name: Configure Environment # run: echo "${GITHUB_WORKSPACE}/llvm/install/bin" >> $GITHUB_PATH - - name: Get dependences - run: | - sudo apt-get update -y - sudo apt-get install -y build-essential libtool autoconf pkg-config flex bison libgmp-dev clang-9 libclang-9-dev texinfo - - name: Update the LLVM/Clang version to 9 - run: | - sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-9 100 - sudo update-alternatives --install /usr/bin/FileCheck FileCheck /usr/bin/FileCheck-9 100 + # - name: Get dependences + # run: | + # sudo apt-get update -y + # sudo apt-get install -y build-essential libtool autoconf pkg-config flex bison libgmp-dev clang-9 libclang-9-dev texinfo + # - name: Update the LLVM/Clang version to 9 + # run: | + # sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-9 100 + # sudo update-alternatives --install /usr/bin/FileCheck FileCheck /usr/bin/FileCheck-9 100 # Clone the Phism repo and its submodules. Do shallow clone to save clone