Skip to content

Commit 573c0e5

Browse files
committed
MacOS dmg building
1 parent 4a3f534 commit 573c0e5

File tree

11 files changed

+53
-25
lines changed

11 files changed

+53
-25
lines changed

.github/workflows/bazel-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
push:
44
branches:
55
- develop
6-
pull_request: {}
76
jobs:
87
build-gui:
98
name: Run bazel GUI build

.github/workflows/changelog.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33

44
name: Changelog
55
on:
6-
pull_request:
7-
types:
8-
- labeled
9-
- unlabeled
10-
- synchronize
11-
- opened
12-
- reopened
6+
workflow_dispatch: {}
137
jobs:
148
changelog:
159
name: Changelog

.github/workflows/engine-pull-request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
push:
77
branches:
88
- develop
9-
pull_request:
109

1110
concurrency:
1211
group: ${{ github.workflow }}-${{ github.ref }}-engine-pull-request

.github/workflows/enso4igv.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@ name: Enso Language Support for VSCode, IGV, NetBeans
33
on:
44
push:
55
branches: [develop]
6-
pull_request:
7-
branches: [develop]
8-
paths:
9-
- ".github/workflows/enso4igv.yml"
10-
- "tools/enso4igv/**/*"
11-
- "engine/**/*"
12-
- "lib/java/**/*"
13-
- "lib/scala/**/*"
14-
- "build.sbt"
156

167
concurrency:
178
group: ${{ github.workflow }}-${{ github.ref }}-enso4igv

.github/workflows/formatting.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Code Formatting Check
33
on:
44
push:
55
branches: [develop, "release/*"]
6-
pull_request:
7-
branches: ["*"]
86

97
env:
108
# Please ensure that this is in sync with graalVersion in build.sbt

.github/workflows/gui-pull-request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
push:
77
branches:
88
- develop
9-
pull_request:
109

1110
concurrency:
1211
group: ${{ github.workflow }}-${{ github.ref }}-gui-pull-request

.github/workflows/ide-pull-request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
push:
77
branches:
88
- develop
9-
pull_request:
109

1110
concurrency:
1211
group: ${{ github.workflow }}-${{ github.ref }}-ide-pull-request
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Bazel macOS DMG build (temporary)
2+
3+
on:
4+
workflow_dispatch: {}
5+
pull_request: {}
6+
7+
jobs:
8+
build-macos-dmg:
9+
name: Run bazel DMG build
10+
runs-on:
11+
- self-hosted
12+
- macOS
13+
steps:
14+
- uses: bazel-contrib/[email protected]
15+
with:
16+
bazelisk-version: 1.x
17+
bazelisk-cache: true
18+
bazelrc: build --remote_cache=grpcs://${{ vars.ENSO_BAZEL_CACHE_URI }} --remote_cache_header="authorization=Basic ${{ secrets.ENSO_BAZEL_CACHE_TOKEN }}"
19+
- uses: actions/checkout@v4
20+
- name: Expose env variables
21+
run: |
22+
cat << END > app/common/.env.production
23+
ENSO_IDE_ENVIRONMENT="${{ vars.ENSO_CLOUD_ENVIRONMENT }}"
24+
ENSO_IDE_API_URL="${{ vars.ENSO_CLOUD_API_URL }}"
25+
ENSO_IDE_CHAT_URL="${{ vars.ENSO_CLOUD_CHAT_URL }}"
26+
ENSO_IDE_COGNITO_DOMAIN="${{ vars.ENSO_CLOUD_COGNITO_DOMAIN }}"
27+
ENSO_IDE_COGNITO_REGION="${{ vars.ENSO_CLOUD_COGNITO_REGION }}"
28+
ENSO_IDE_COGNITO_USER_POOL_ID="${{ vars.ENSO_CLOUD_COGNITO_USER_POOL_ID }}"
29+
ENSO_IDE_COGNITO_USER_POOL_WEB_CLIENT_ID="${{ vars.ENSO_CLOUD_COGNITO_USER_POOL_WEB_CLIENT_ID }}"
30+
ENSO_IDE_GOOGLE_ANALYTICS_TAG="${{ vars.ENSO_CLOUD_GOOGLE_ANALYTICS_TAG }}"
31+
ENSO_IDE_SENTRY_DSN="${{ vars.ENSO_CLOUD_SENTRY_DSN }}"
32+
ENSO_IDE_STRIPE_KEY="${{ vars.ENSO_CLOUD_STRIPE_KEY }}"
33+
ENSO_IDE_AG_GRID_LICENSE_KEY="${{ vars.ENSO_AG_GRID_LICENSE_KEY }}"
34+
ENSO_IDE_MAPBOX_API_TOKEN="${{ vars.ENSO_MAPBOX_API_TOKEN }}"
35+
ENSO_IDE_COMMIT_HASH="${{ github.sha }}"
36+
ENSO_IDE_VERSION="SNAPSHOT-${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
37+
ENSO_IDE_CLOUD_BUILD="false"
38+
END
39+
- name: Build DMG package
40+
run: bazel build //app/electron-client:dist
41+
- name: Get DMG build output location
42+
id: get_bazel_output
43+
run: |
44+
OUTPUT_SYMLINK=$(bazel cquery --output=files //app/electron-client:dist)
45+
BAZEL_OUTPUT=$(realpath "$OUTPUT_SYMLINK")
46+
echo "location=$BAZEL_OUTPUT" >> $GITHUB_OUTPUT
47+
- uses: actions/upload-artifact@v4
48+
with:
49+
name: ide-macos-dmg
50+
path: ${{ steps.get_bazel_output.outputs.location }}
51+
if-no-files-found: error

.github/workflows/std-libs-labels.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
push:
88
branches:
99
- develop
10-
pull_request: {}
1110
workflow_dispatch: {}
1211
workflow_call: {}
1312
permissions:

.github/workflows/wasm-pull-request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
push:
77
branches:
88
- develop
9-
pull_request:
109

1110
concurrency:
1211
group: ${{ github.workflow }}-${{ github.ref }}-wasm-pull-request

0 commit comments

Comments
 (0)