forked from colemancda/swift-armv7
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (37 loc) · 1.1 KB
/
build-swift-latest.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
34
35
36
37
38
39
name: Build Swift Latest
on:
push:
branches: [ "main", "feature/**" ]
pull_request:
branches: [ "main" ]
jobs:
build-latest:
strategy:
matrix:
swift-target-arch: ["armv7"]
distribution: ["debian-bookworm"]
include:
- swift-target-arch: "armv6"
distribution: "raspios-bookworm"
env:
SWIFT_VERSION: "6.0.3"
SWIFT_TAG: swift-6.0.3-RELEASE
name: Build Swift
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/checkout-swift
name: Fetch Swift ${{ env.SWIFT_TAG }}
with:
swift-tag: ${{ env.SWIFT_TAG }}
swift-workspace-cache: swift-workspace
- name: Generate Builder Container
shell: bash
run: ./swift-builder/build-container.sh
- uses: ./.github/actions/build-for-distribution
name: Build & Publish Swift ${{ env.SWIFT_VERSION }}
with:
swift-tag: ${{ env.SWIFT_TAG }}
swift-target-arch: ${{ matrix.swift-target-arch }}
distribution: ${{ matrix.distribution }}
builder-tag: ${{ env.SWIFT_VERSION }}