From bffe4a459d4a3d64ce3bae465ace388d642af07f Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 24 Feb 2025 15:01:37 +0100 Subject: [PATCH] [GLVM] Add Github CI workflow --- .github/workflows/glvm.yml | 76 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 .github/workflows/glvm.yml diff --git a/.github/workflows/glvm.yml b/.github/workflows/glvm.yml new file mode 100644 index 00000000..ffcad39b --- /dev/null +++ b/.github/workflows/glvm.yml @@ -0,0 +1,76 @@ +name: GLVM +on: + workflow_dispatch: + push: + branches: + - glvm-ci + paths: + - .github/workflows/glvm.yml +jobs: + windows-x64: + name: Windows (x64) + runs-on: windows-2019 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build + run: .\build.cmd + working-directory: .\src\GLVM + - name: Upload Windows native libs + uses: actions/upload-artifact@v4 + with: + name: windows_x64 + path: lib/Native/Aardvark.Rendering.GL/windows/AMD64/ + linux-x64: + name: Linux (x64) + runs-on: ubuntu-20.04 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build + run: ./build.sh + working-directory: ./src/GLVM + - name: Upload MacOS native libs + uses: actions/upload-artifact@v4 + with: + name: mac_x64 + path: lib/Native/Aardvark.Rendering.GL/linux/AMD64/ + macos-x64: + name: MacOS (x64) + runs-on: macos-13 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build + run: ./build.sh + working-directory: ./src/GLVM + - name: Upload MacOS native libs + uses: actions/upload-artifact@v4 + with: + name: mac_x64 + path: lib/Native/Aardvark.Rendering.GL/mac/AMD64/ + macos-arm64: + name: MacOS (ARM64) + runs-on: macos-14 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build + run: ./build.sh + working-directory: ./src/GLVM + - name: Upload MacOS native libs + uses: actions/upload-artifact@v4 + with: + name: mac_arm64 + path: lib/Native/Aardvark.Rendering.GL/mac/ARM64/ + build: + name: Build + runs-on: windows-latest + needs: + - windows-x64 + - linux-x64 + - macos-x64 + - macos-arm64 + steps: + - name: Checkout + uses: actions/checkout@v4 \ No newline at end of file