From 692940f917db3f545167445dc78e00c61e43ffa3 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 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..470e776 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI +on: + push: + branches: ["main"] + 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: Build (${{ matrix.target.name }}) + runs-on: ${{ matrix.target.runner }} + steps: + - name: checkout + uses: actions/checkout@v4 + - name: build + run: | + cd src && make all