Skip to content

Revert previous commit. #35

Revert previous commit.

Revert previous commit. #35

Workflow file for this run

name: macOS 12
# Dependencies of this package
env:
MACOS_BREW: ${{ 'gtk+3 pango glib glib-networking gobject-introspection pkg-config jq' }}
on:
push:
branches:
- monorepo
- development
- main
pull_request:
branches:
- monorepo
- development
- main
jobs:
# macOS tasks
build-mac-big-sur-swift-latest:
runs-on: macos-12.0
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '13.3.1'
- name: Print Swift version to confirm
run: swift --version
- name: Fetch dependencies for general repository
run: brew install $MACOS_BREW
- name: Checkout SwiftGtk
uses: actions/checkout@v2
with:
path: SwiftGtk
- name: Build SwiftGtk
run: |
cd SwiftGtk
swift build
cd ..
- name: Test SwiftGtk
run: |
cd SwiftGtk
swift test
cd ..
- name: Remove unneeded files and archive artefacts
run: |
cd SwiftGtk
swift package clean
rm -rf .build/repositories
cd ..
# - name: 'Upload Artefact'
# uses: actions/upload-artifact@v2
# with:
# name: build-artefact-monterey
# path: |
# SwiftGtk/Sources/
# retention-days: 1