Skip to content

Commit 3b8dc8b

Browse files
committed
Small-ish fixes and update-deps.yaml refactoring
1 parent 2c357c0 commit 3b8dc8b

3 files changed

Lines changed: 55 additions & 97 deletions

File tree

.github/workflows/buildandtest.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ jobs:
6868
6969
- name: Install Swiftly and Swift
7070
run: |
71+
# Install Swift dependencies first
72+
sudo apt-get update
73+
sudo apt-get -y install libcurl4-openssl-dev libz3-dev
74+
7175
SWIFTLY_FILE="swiftly-$(uname -m).tar.gz"
7276
curl -sL https://download.swift.org/swiftly/linux/swiftly-x86_64.tar.gz -o $SWIFTLY_FILE
7377
tar zxf $SWIFTLY_FILE
@@ -80,8 +84,6 @@ jobs:
8084
swiftly install 5.10
8185
swift --version
8286
83-
sudo apt-get -y install libcurl4-openssl-dev
84-
8587
# Export Swift toolchain path for SwiftLint's SourceKit
8688
# Dynamically determine the path from the swift binary location
8789
SWIFT_BIN=$(which swift)

.github/workflows/testflight.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- main
6+
- alwx/experiment/cirrus-labs-for-everythin
67

78
pull_request:
89
paths:

.github/workflows/update-deps.yml

Lines changed: 50 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -9,100 +9,55 @@ on:
99
branches:
1010
- main
1111

12-
jobs:
13-
android:
14-
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]
15-
steps:
16-
- uses: getsentry/github-workflows/updater@v3
17-
with:
18-
path: scripts/update-android.sh
19-
name: Android SDK
20-
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
21-
22-
android-stubs:
23-
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]
24-
steps:
25-
- uses: getsentry/github-workflows/updater@v3
26-
with:
27-
path: scripts/update-android-stubs.sh
28-
name: Android SDK Stubs
29-
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
30-
31-
cocoa:
32-
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]
33-
steps:
34-
- uses: getsentry/github-workflows/updater@v3
35-
with:
36-
path: scripts/update-cocoa.sh
37-
name: Cocoa SDK
38-
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
39-
40-
javascript:
41-
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]
42-
steps:
43-
- uses: getsentry/github-workflows/updater@v3
44-
with:
45-
path: scripts/update-javascript.sh
46-
name: JavaScript SDK
47-
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
48-
49-
wizard:
50-
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]
51-
steps:
52-
- uses: getsentry/github-workflows/updater@v3
53-
with:
54-
path: scripts/update-wizard.sh
55-
name: Wizard
56-
changelog-entry: false
57-
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
12+
env:
13+
UBUNTU_RUNNER: '["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]'
5814

59-
cli:
60-
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]
61-
steps:
62-
- uses: getsentry/github-workflows/updater@v3
63-
with:
64-
path: scripts/update-cli.sh
65-
name: CLI
66-
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
67-
68-
bundler-plugins:
69-
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]
70-
steps:
71-
- uses: getsentry/github-workflows/updater@v3
72-
with:
73-
path: scripts/update-bundler-plugins.sh
74-
name: Bundler Plugins
75-
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
76-
77-
sample-rn:
78-
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]
79-
steps:
80-
- uses: getsentry/github-workflows/updater@v3
81-
with:
82-
path: scripts/update-rn.sh
83-
name: React Native
84-
pattern: '^v[0-9.]+$' # only match non-preview versions, also ignores "latest"
85-
changelog-entry: false
86-
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
87-
88-
maestro:
89-
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]
90-
steps:
91-
- uses: getsentry/github-workflows/updater@v3
92-
with:
93-
path: scripts/update-maestro.sh
94-
name: Maestro
95-
pattern: '^v[0-9.]+$' # only match non-preview versions
96-
changelog-entry: false
97-
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}
98-
99-
sentry-android-gradle-plugin:
100-
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]
101-
steps:
102-
- uses: getsentry/github-workflows/updater@v3
103-
with:
104-
path: scripts/update-sentry-android-gradle-plugin.sh
105-
name: Sentry Android Gradle Plugin
106-
pattern: '^[0-9.]+$'
107-
changelog-entry: false
15+
jobs:
16+
update-deps:
17+
runs-on: ${{ fromJson(vars.UBUNTU_RUNNER || '["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:12"]') }}
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
include:
22+
- path: scripts/update-android.sh
23+
name: Android SDK
24+
changelog-entry: true
25+
- path: scripts/update-android-stubs.sh
26+
name: Android SDK Stubs
27+
changelog-entry: true
28+
- path: scripts/update-cocoa.sh
29+
name: Cocoa SDK
30+
changelog-entry: true
31+
- path: scripts/update-javascript.sh
32+
name: JavaScript SDK
33+
changelog-entry: true
34+
- path: scripts/update-wizard.sh
35+
name: Wizard
36+
changelog-entry: false
37+
- path: scripts/update-cli.sh
38+
name: CLI
39+
changelog-entry: true
40+
- path: scripts/update-bundler-plugins.sh
41+
name: Bundler Plugins
42+
changelog-entry: true
43+
- path: scripts/update-rn.sh
44+
name: React Native
45+
pattern: '^v[0-9.]+$' # only match non-preview versions, also ignores "latest"
46+
changelog-entry: false
47+
- path: scripts/update-maestro.sh
48+
name: Maestro
49+
pattern: '^v[0-9.]+$' # only match non-preview versions
50+
changelog-entry: false
51+
- path: scripts/update-sentry-android-gradle-plugin.sh
52+
name: Sentry Android Gradle Plugin
53+
pattern: '^[0-9.]+$'
54+
changelog-entry: false
55+
name: ${{ matrix.name }}
56+
steps:
57+
- uses: getsentry/github-workflows/updater@v3
58+
with:
59+
path: ${{ matrix.path }}
60+
name: ${{ matrix.name }}
61+
pattern: ${{ matrix.pattern || '' }}
62+
changelog-entry: ${{ matrix.changelog-entry }}
10863
ssh-key: ${{ secrets.CI_DEPLOY_KEY }}

0 commit comments

Comments
 (0)