From aa09bd20032b0f5448e9cb544ce52c258d112090 Mon Sep 17 00:00:00 2001 From: camila314 <47485054+camila314@users.noreply.github.com> Date: Wed, 15 Jan 2025 17:46:59 -0600 Subject: [PATCH] github action --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..1b27a13 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: Build Github Action +on: [push] + +jobs: + build: + strategy: + fail-fast: false + matrix: + config: + - name: win + os: windows-latest + ext: lib + + - name: mac + os: macos-latest + ext: a + + + name: ${{ matrix.config.name }} + runs-on: ${{ matrix.config.os }} + + steps: + - uses: actions/checkout@v4 + - uses: nicledomaS/cmake_build_action@v1.4 + - uses: actions/upload-artifact@v2 + with: + path: build/*.${{ matrix.config.ext }} + name: libgeode-ipc.${{ matrix.config.ext }}