`feat(github-actions): add new build workflow for warp`
authorAnthony Green <green@moxielogic.org>
Thu, 1 Feb 2024 03:43:38 +0000 (22:43 -0500)
committerAnthony Green <green@moxielogic.org>
Thu, 1 Feb 2024 03:43:38 +0000 (22:43 -0500)
.allow-ai-service [new file with mode: 0644]
.github/workflows/build.yml

diff --git a/.allow-ai-service b/.allow-ai-service
new file mode 100644 (file)
index 0000000..e69de29
index 05d0e6ace59aa5a5eb94374973b1803a217de200..a5072480dd4a20a304b555e28a31878e25a7343e 100644 (file)
@@ -14,6 +14,30 @@ on:
 # A workflow run is made up of one or more jobs that can run sequentially or in parallel
 jobs:
 
+  build-warp:
+    name: ${{ matrix.HOST }} ${{ matrix.CONFIGURE_OPTIONS }} ${{ matrix.MEVAL }} ${{ matrix.LIBFFI_TEST_OPTIMIZATION }}
+    runs-on: warp-ubuntu-latest-arm64-2x
+
+    strategy:
+      fail-fast: false
+      matrix:
+       include:
+         - HOST: "aarch64-linux-gnu"
+
+    steps:
+      - uses: actions/checkout@v3
+
+      - env:
+          MEVAL: ${{ matrix.MEVAL }}
+          HOST: ${{ matrix.HOST }}
+          LDFLAGS: ${{ matrix.LDFLAGS }}
+          RUNTESTFLAGS: ${{ matrix.RUNTESTFLAGS }}
+          CONFIGURE_OPTIONS: ${{ matrix.CONFIGURE_OPTIONS }}
+        run: |
+          if test x"$MEVAL" != x; then eval ${MEVAL}; fi
+          ./.ci/install.sh
+          ./.ci/build.sh
+
   build-sim:
     name: ${{ matrix.HOST }} ${{ matrix.CONFIGURE_OPTIONS }} ${{ matrix.MEVAL }} ${{ matrix.LIBFFI_TEST_OPTIMIZATION }}
     runs-on: ubuntu-latest