summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml20
-rw-r--r--azure-pipelines.yml25
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}