-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DO NOT MERGE] testing Windows CI failures
- Loading branch information
Showing
8 changed files
with
77 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,26 +23,30 @@ jobs: | |
minimum-size: 8GB | ||
maximum-size: 24GB | ||
disk-root: "C:" | ||
- uses: brechtm/setup-scoop@v2 | ||
with: | ||
scoop_update: 'false' | ||
- name: Install Dependencies | ||
shell: bash | ||
run: | | ||
scoop install ninja binaryen | ||
#- uses: brechtm/setup-scoop@v2 | ||
# with: | ||
# scoop_update: 'false' | ||
#- name: Install Dependencies | ||
# shell: bash | ||
# run: | | ||
# scoop install ninja binaryen | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: submodules | ||
shell: bash | ||
run: git submodule update --init lib/mingw-w64 | ||
- name: Extract TinyGo version | ||
id: version | ||
shell: bash | ||
run: ./.github/workflows/tinygo-extract-version.sh | tee -a "$GITHUB_OUTPUT" | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.23' | ||
cache: true | ||
- name: command | ||
shell: bash | ||
run: go env | ||
#- name: Install Go | ||
# uses: actions/setup-go@v5 | ||
# with: | ||
# go-version: '1.23' | ||
# cache: true | ||
- name: Restore cached LLVM source | ||
uses: actions/cache/restore@v4 | ||
id: cache-llvm-source | ||
|
@@ -91,6 +95,21 @@ jobs: | |
with: | ||
key: ${{ steps.cache-llvm-build.outputs.cache-primary-key }} | ||
path: llvm-build | ||
- name: Restore Go cache | ||
uses: actions/cache/restore@v4 | ||
with: | ||
key: go-cache-v1 | ||
path: C:/Users/runneradmin/AppData/Local/go-build | ||
- name: Test TinyGo | ||
shell: bash | ||
run: make test GOTESTFLAGS="-short -run=TestBuild -v" | ||
- name: Save Go cache | ||
uses: actions/cache/save@v4 | ||
with: | ||
key: go-cache-v1 | ||
path: C:/Users/runneradmin/AppData/Local/go-build | ||
- name: exit | ||
run: command-does-not-exist | ||
- name: Cache wasi-libc sysroot | ||
uses: actions/cache@v4 | ||
id: cache-wasi-libc | ||
|
@@ -105,9 +124,6 @@ jobs: | |
scoop install [email protected] | ||
- name: make gen-device | ||
run: make -j3 gen-device | ||
- name: Test TinyGo | ||
shell: bash | ||
run: make test GOTESTFLAGS="-short" | ||
- name: Build TinyGo release tarball | ||
shell: bash | ||
run: make build/release -j4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters