From a9f08d142ce8d24339af4187730a4d658c641ecb Mon Sep 17 00:00:00 2001 From: Nigel Jones Date: Thu, 12 Sep 2024 06:52:46 -0500 Subject: [PATCH] Add simple CI Signed-off-by: Nigel Jones --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..fdc69cc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI +on: + push: + branches: ["*"] + pull_request: + branches: ["main"] +permissions: + contents: read +jobs: + build: + strategy: + fail-fast: false + matrix: + target: + - runner: ubuntu-latest + name: 'ubuntu-latest x86-64' + - runner: macos-latest + name: 'MacOS (arm64)' + - runner: pqcp-arm64 + name: 'ubuntu-latest (arm64)' + name: Simple build (${{ matrix.target.name }}) + runs-on: ${{ matrix.target.runner }} + steps: + - name: checkout + uses: actions/checkout@v4 + - name: build + run: | + make + \ No newline at end of file