Skip to content

Commit

Permalink
Add build action on GitHub runners
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuravi committed Apr 3, 2024
1 parent 303d9f8 commit 9ff451b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,24 @@ jobs:
name: Markdown Link Check
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
permissions:
contents: read
contents: read
buildandtest:
name: Build and Test
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Check Environment
run: |
xcodebuild -version
swift --version
- name: Set Mapbox Credentials
run: |
echo "machine api.mapbox.com" >> ~/.netrc
echo "login mapbox" >> ~/.netrc
echo "password ${{ secrets.MAPBOX_TOKEN }}" >> ~/.netrc
chmod 0600 ~/.netrc
- name: Build and Test
run: xcodebuild test -project StrokeCog.xcodeproj -scheme StrokeCog -destination 'platform=iOS Simulator,name=iPhone 15'
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "43e89b81bc5041bc458ff8ef663965df68e755e6e2fdcb3a11c344d1cc5c0249",
"originHash" : "743bf7cd89ddbade5c78d5f9c6554803b47ff2ebf7a758e70d2c9c4b9167c70f",
"pins" : [
{
"identity" : "abseil-cpp-binary",
Expand Down

0 comments on commit 9ff451b

Please sign in to comment.