-
-
Notifications
You must be signed in to change notification settings - Fork 38
33 lines (30 loc) · 932 Bytes
/
swift-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 GtkCodeGen && \
cd Examples && \
swift build --target SwiftCrossUI && \
swift build --target GtkBackend && \
swift build --target CounterExample && \
swift build --target ControlsExample && \
swift build --target RandomNumberGeneratorExample && \
swift build --target WindowingExample && \
swift build --target GreetingGeneratorExample && \
swift build --target NavigationExample && \
swift build --target SplitExample && \
swift build --target GtkExample
# - name: Test
# run: swift test