Skip to content
name: Build And Test on GitHub
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# env:
# DEVELOPER_DIR: /Applications/Xcode_15.1.app/Contents/Developer
jobs:
build:
runs-on: ubuntu-latest
container: swift:6.0-noble
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: swift build
# disabled until resolved
# https://github.com/sebsto/xcodeinstall/issues/51
test:
if: false
runs-on: ubuntu-latest
container: swift:6.0-noble
steps:
- uses: actions/checkout@v4
- name: Run tests
run: swift test