From b2cec43290635fd201d796f261c3a652c6911587 Mon Sep 17 00:00:00 2001 From: Ayoub Zaki Date: Thu, 2 Jan 2025 16:35:47 +0100 Subject: [PATCH] add github CI --- .github/pull_request_template.md | 5 +++++ .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/ci.yml diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..f6f0b73 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,5 @@ +Thank you for contributing to `meta-pqc`! + +By submitting this pull request, you confirm that: +- This contribution is your original work or you have the necessary rights to submit it. +- You agree to the terms outlined in the project's Contributor License Agreement (CLA). diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..76a2222 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: [ "scarthgap" ] + pull_request: + branches: [ "scarthgap" ] + +# env: +# #BUILD_TYPE: Release + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: sudo apt-get update && sudo apt-get --no-install-recommends install -y python3 python3-pip && sudo pip3 install kas + + - name: Build + #run: kas-container build kas-pqc.yml + run: kas-container dump kas-pqc.yml + + - name: Test + working-directory: ${{github.workspace}} + run: echo Test +