Skip to content

Commit

Permalink
fix(flutter): flutter builder caching being broken - part 3 (#320)
Browse files Browse the repository at this point in the history
* fix(cat-ci): Flutter broken CI cache

* fix(cat-ci): spelling

* fix(cat-ci): really fix the spelling

* fix(cat-ci): Make a test for building flutter-base in cat-ci.

* style(cat-ci): dedent the run lines for google chrome

* fix(cat-ci): env var definition and spelling

* fix(docs): Upstream broke the deploy gh-pages action

* test(flutter): See if we can build multi-platform in CI to test both amd64 and arm64 flutter base builders

* test(cat-ci): Forcibly break the flutter base image test builder

* test(flutter): Change the build target to a test target

* test(flutter): Actually try the all-hosts builder test for flutter

* test(flutter): Divide the amd64 and arm64 builder test builds so its easier to see if one fails.
  • Loading branch information
stevenj authored Sep 28, 2024
1 parent 97be2e4 commit 6ed2066
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runner_address: ${{ secrets.earthly_runner_address }}
artifact: "true"
- name: Publish docs
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@v4.6.4
with:
clean: true
clean-exclude: |
Expand Down
12 changes: 6 additions & 6 deletions earthly/flutter/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ flutter-base:
RUN dart pub global activate combine_coverage
RUN dart pub global activate license_checker

# flutter-base-all-hosts installs required tools and packages for all hosts.
flutter-base-all-hosts:
BUILD --platform=linux/amd64 --platform=linux/arm64 +flutter-base
# test-flutter-base-amd64 : installs required tools and packages for amd64.
test-flutter-base-amd64:
BUILD --platform=linux/amd64 +flutter-base

# Test that we can actually build the flutter base image.
build-flutter-base:
FROM +flutter-base
# test-flutter-base-arm64 : installs required tools and packages for arm64.
test-flutter-base-arm64:
BUILD --platform=linux/arm64 +flutter-base

SETUP:
FUNCTION
Expand Down

0 comments on commit 6ed2066

Please sign in to comment.