Skip to content

Commit 03b2f74

Browse files
committed
Testing building Wasp on ARM
1 parent 8f3384e commit 03b2f74

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.github/workflows/waspc-ci.yaml

+15-14
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ name: WASPC-CI
33
on:
44
push:
55
paths:
6-
- 'waspc/**'
6+
- "waspc/**"
77
branches:
88
- main
99
- release
1010
pull_request:
1111
paths:
12-
- 'waspc/**'
12+
- "waspc/**"
1313
create: { tags: [v*] }
1414
schedule:
1515
# Additionally run once per week (At 00:00 on Sunday) to avoid loosing cache
1616
# (GH deletes it after 7 days of not using it).
17-
- cron: '0 0 * * 0'
17+
- cron: "0 0 * * 0"
1818

1919
env:
2020
WASP_TELEMETRY_DISABLE: 1
@@ -47,28 +47,29 @@ jobs:
4747
# We can return to `ubuntu-latest` when enough time has elapsed.
4848
# Still looking into musl static binaries.
4949
# Ref: https://github.com/wasp-lang/wasp/issues/650
50-
- ubuntu-20.04
50+
- ubuntu-22.04
51+
- ubuntu-22.04-arm
5152
- macos-latest
5253
- windows-latest
5354
node-version:
54-
- 'latest'
55+
- "latest"
5556
ghc:
56-
- '8.10.7'
57+
- "8.10.7"
5758
cabal:
58-
- '3.6.2.0'
59+
- "3.6.2.0"
5960
# In addition to the default matrix, we also want to run the build job for
6061
# additional Node.js versions, to make sure that Wasp works with them.
6162
# To reduce the number of jobs, we only test the Node.js versions on
6263
# Ubuntu 20.04.
6364
include:
6465
- os: ubuntu-20.04
6566
node-version: 18
66-
ghc: '8.10.7'
67-
cabal: '3.6.2.0'
67+
ghc: "8.10.7"
68+
cabal: "3.6.2.0"
6869
- os: ubuntu-20.04
6970
node-version: 20
70-
ghc: '8.10.7'
71-
cabal: '3.6.2.0'
71+
ghc: "8.10.7"
72+
cabal: "3.6.2.0"
7273

7374
steps:
7475
- name: Configure git
@@ -80,7 +81,7 @@ jobs:
8081
git config --global core.autocrlf input
8182
git config --global core.eol lf
8283
83-
- uses: 'actions/checkout@v3'
84+
- uses: "actions/checkout@v3"
8485
with:
8586
# Workaround for a Github Checkout action bug
8687
# https://github.com/actions/checkout/issues/1359#issuecomment-1567902034
@@ -209,7 +210,7 @@ jobs:
209210
npm ci
210211
# Runs the tests with the debug flag so that we can see Wasp output
211212
DEBUG=pw:webserver npx playwright test
212-
213+
213214
- name: Run e2e tests
214215
run: cabal test e2e-test
215216

@@ -226,7 +227,7 @@ jobs:
226227
with:
227228
draft: true
228229
allowUpdates: true
229-
artifacts: 'waspc/artifacts/*'
230+
artifacts: "waspc/artifacts/*"
230231
artifactErrorsFailBuild: true
231232
replacesArtifacts: true
232233
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)