Skip to content

Commit

Permalink
[workflows] Add workflow to build using Theos and Swift on push
Browse files Browse the repository at this point in the history
  • Loading branch information
leptos-null committed Apr 6, 2024
1 parent 9483fb3 commit 1d287ae
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1d287ae

Please sign in to comment.