From 18fd5aec1c2d90a3f35936cd019604f511ceac53 Mon Sep 17 00:00:00 2001 From: jmbills <42755197+jmbills@users.noreply.github.com> Date: Wed, 23 Oct 2019 10:54:19 -0700 Subject: Add action to build opebmc --- .github/workflows/main.yml | 20 ++++++++++++++++++++ azure-pipelines.yml | 25 ------------------------- 2 files changed, 20 insertions(+), 25 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 azure-pipelines.yml 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} -- cgit v1.2.3