From 1d287ae8c982957bb7b38805ba8102dff0202819 Mon Sep 17 00:00:00 2001 From: Leptos Date: Sat, 6 Apr 2024 10:51:11 -0700 Subject: [PATCH] [workflows] Add workflow to build using Theos and Swift on push --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..ddcf6aa --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: Build + +on: + push + +jobs: + build: + runs-on: macos-14 + steps: + - name: Checkout repo + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Checkout theos/theos + uses: actions/checkout@v4 + with: + repository: theos/theos + submodules: recursive + path: theos + + - name: Build with Theos + env: + THEOS: theos + run: | + # we probably don't have `ldid`, so skip codesign + # https://github.com/theos/theos/pull/786 + make 'TARGET_CODESIGN = ' + + - name: Build with Swift + run: | + swift build