Skip to content

Commit

Permalink
Testing building Wasp on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho committed Jan 21, 2025
1 parent 8f3384e commit 03b2f74
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/waspc-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ name: WASPC-CI
on:
push:
paths:
- 'waspc/**'
- "waspc/**"
branches:
- main
- release
pull_request:
paths:
- 'waspc/**'
- "waspc/**"
create: { tags: [v*] }
schedule:
# Additionally run once per week (At 00:00 on Sunday) to avoid loosing cache
# (GH deletes it after 7 days of not using it).
- cron: '0 0 * * 0'
- cron: "0 0 * * 0"

env:
WASP_TELEMETRY_DISABLE: 1
Expand Down Expand Up @@ -47,28 +47,29 @@ jobs:
# We can return to `ubuntu-latest` when enough time has elapsed.
# Still looking into musl static binaries.
# Ref: https://github.com/wasp-lang/wasp/issues/650
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-22.04-arm
- macos-latest
- windows-latest
node-version:
- 'latest'
- "latest"
ghc:
- '8.10.7'
- "8.10.7"
cabal:
- '3.6.2.0'
- "3.6.2.0"
# In addition to the default matrix, we also want to run the build job for
# additional Node.js versions, to make sure that Wasp works with them.
# To reduce the number of jobs, we only test the Node.js versions on
# Ubuntu 20.04.
include:
- os: ubuntu-20.04
node-version: 18
ghc: '8.10.7'
cabal: '3.6.2.0'
ghc: "8.10.7"
cabal: "3.6.2.0"
- os: ubuntu-20.04
node-version: 20
ghc: '8.10.7'
cabal: '3.6.2.0'
ghc: "8.10.7"
cabal: "3.6.2.0"

steps:
- name: Configure git
Expand All @@ -80,7 +81,7 @@ jobs:
git config --global core.autocrlf input
git config --global core.eol lf
- uses: 'actions/checkout@v3'
- uses: "actions/checkout@v3"
with:
# Workaround for a Github Checkout action bug
# https://github.com/actions/checkout/issues/1359#issuecomment-1567902034
Expand Down Expand Up @@ -209,7 +210,7 @@ jobs:
npm ci
# Runs the tests with the debug flag so that we can see Wasp output
DEBUG=pw:webserver npx playwright test
- name: Run e2e tests
run: cabal test e2e-test

Expand All @@ -226,7 +227,7 @@ jobs:
with:
draft: true
allowUpdates: true
artifacts: 'waspc/artifacts/*'
artifacts: "waspc/artifacts/*"
artifactErrorsFailBuild: true
replacesArtifacts: true
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 03b2f74

Please sign in to comment.