From 0f8d5f4e558ddae7789c374e719026770d19306f Mon Sep 17 00:00:00 2001 From: the Date: Wed, 15 Mar 2023 01:23:38 +0800 Subject: [PATCH 1/2] [Build] replace travis ci with github action (#3) --- .github/workflow/ci.yml | 21 +++++++++++++++++++++ .travis.yml | 23 ----------------------- 2 files changed, 21 insertions(+), 23 deletions(-) create mode 100644 .github/workflow/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflow/ci.yml b/.github/workflow/ci.yml new file mode 100644 index 0000000..2bbcb33 --- /dev/null +++ b/.github/workflow/ci.yml @@ -0,0 +1,21 @@ +name: vRG ci +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: sudo apt-get update && apt-get install -y libnuma-dev linux-headers-$(uname -r) python3-pip + - run: sudo pip3 install setuptools meson ninja pyelftools + - run: ./boot.sh + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: sudo apt-get update && apt-get install -y libnuma-dev linux-headers-$(uname -r) python3-pip + - run: sudo pip3 install setuptools meson ninja pyelftools \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f05c8aa..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -dist: focal -language: C - -branches: - only: - - master - -compiler: - - gcc - -os: - - linux - -before_install: - - sudo apt-get install -y libnuma-dev - - sudo apt-get install -y linux-modules-5.4.0-1018-gcp linux-headers-$(uname -r) - - sudo apt install python3-pip -y - - sudo pip3 install setuptools - - sudo pip3 install meson - - sudo pip3 install ninja - - sudo pip3 install pyelftools - -script: ./boot.sh; From 5dbf56e0af994da78372fc2296956effbceae364 Mon Sep 17 00:00:00 2001 From: the Date: Wed, 15 Mar 2023 01:25:15 +0800 Subject: [PATCH 2/2] Use GitHub action (#4) * [Build] replace travis ci with github action * [Build] replace travis ci with github action --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2bbcb33 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: vRG ci +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: sudo apt-get update && apt-get install -y libnuma-dev linux-headers-$(uname -r) python3-pip + - run: sudo pip3 install setuptools meson ninja pyelftools + - run: ./boot.sh + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: sudo apt-get update && apt-get install -y libnuma-dev linux-headers-$(uname -r) python3-pip + - run: sudo pip3 install setuptools meson ninja pyelftools \ No newline at end of file