Skip to content

Move backends (and examples) into separate subpackages #215

Move backends (and examples) into separate subpackages

Move backends (and examples) into separate subpackages #215

Workflow file for this run

name: Build Linux
on:
push:
pull_request:
branches: [ main ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
sudo apt update && \
sudo apt install -y libgtk-4-dev clang
- name: Build
run: |
swift build --target SwiftCrossUI && \
cd Backends/GtkBackend && \
swift build --target GtkBackend && \
swift build --target GtkCodeGen && \
swift build --target GtkExample && \
cd ../../Examples && \
swift build --target CounterExample && \
swift build --target RandomNumberGeneratorExample && \
swift build --target GreetingGeneratorExample && \
swift build --target SplitExample && \
swift build --target ControlsExample && \
swift build --target WindowingExample && \
swift build --target NavigationExample && \
swift build --target SpreadsheetExample && \
swift build --target StressTestExample
- name: Test
run: swift test