Skip to content

Commit

Permalink
Self host workflow (#6)
Browse files Browse the repository at this point in the history
* Try out self-hosted workflow

* Reverted libclang prefix configure
  • Loading branch information
kumasento committed May 13, 2021
1 parent 08da29d commit f43260b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f43260b

Please sign in to comment.