diff options
author | jmbills <42755197+jmbills@users.noreply.github.com> | 2019-10-23 20:54:19 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2019-10-24 20:36:28 +0300 |
commit | 18fd5aec1c2d90a3f35936cd019604f511ceac53 (patch) | |
tree | 62ed92f532a529b93fb67c19fdaa98a9be9de22a | |
parent | 456380bb272d3a301c887eee513a3937cc1f48e1 (diff) | |
download | openbmc-18fd5aec1c2d90a3f35936cd019604f511ceac53.tar.xz |
Add action to build opebmc
-rw-r--r-- | .github/workflows/main.yml | 20 | ||||
-rw-r--r-- | azure-pipelines.yml | 25 |
2 files changed, 20 insertions, 25 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..ab31bf4b7 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: CI + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Run a multi-line script + run: | + sudo apt update + sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat + rm -rf build + export TEMPLATECONF=meta-openbmc-mods/meta-wht/conf + source oe-init-build-env + echo "INHERIT += \"rm_work\"" >> conf/local.conf + bitbake intel-platforms diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 57907a2d4..000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,25 +0,0 @@ -trigger: -- master -- intel - -jobs: -- job: Build - timeoutInMinutes: 0 - - pool: - vmImage: 'Ubuntu-16.04' - - steps: - # Remove the ubuntu-toolchain-r/test PPA, which is added by default. Some - # packages were removed, and this is causing the g++multilib install to fail. - # Similar issue: https://github.com/scikit-learn/scikit-learn/issues/13928 - - bash: | - sudo add-apt-repository --remove ppa:ubuntu-toolchain-r/test - sudo apt update - sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat - rm -rf build - source oe-init-build-env - bitbake intel-platforms - displayName: 'Build' - timeoutInMinutes: 0 - env: { DEBIAN_FRONTEND: noninteractive} |