Skip to content

Treat mixed-case constants special. #98

Treat mixed-case constants special.

Treat mixed-case constants special. #98

Workflow file for this run

name: macOS 12
# Dependencies of this package
env:
MACOS_BREW: ${{ 'libxml2 gobject-introspection' }}
on:
push:
branches:
- main
- development
pull_request:
branches:
- main
- development
jobs:
# macOS tasks
build-mac-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 gir2swift
uses: actions/checkout@v2
with:
path: gir2swift
- name: Build current gir2swift
run: |
cd gir2swift
./build.sh
echo "GIR2SWIFT_PATH=${PWD}/.build/release/gir2swift" >> $GITHUB_ENV
cd ..
- name: Test gir2swift
run: |
cd gir2swift
./test.sh
cd ..
- name: Remove unneeded files and archive artefacts
run: |
cd gir2swift
swift package clean
rm -rf .build/repositories
cd ..