mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-01 09:37:48 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e50bd60a5 |
@@ -13,17 +13,9 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build-windows:
|
||||
runs-on: ${{ matrix.image }}
|
||||
runs-on: windows-2022
|
||||
outputs:
|
||||
version: ${{ steps.version.outputs.version }}
|
||||
strategy:
|
||||
matrix:
|
||||
goarch: [ amd64, arm64 ]
|
||||
include:
|
||||
- goarch: amd64
|
||||
image: windows-2022
|
||||
- goarch: arm64
|
||||
image: windows-11-arm
|
||||
steps:
|
||||
- name: Configure pagefile
|
||||
uses: al-cheb/configure-pagefile-action@v1.4
|
||||
@@ -80,7 +72,7 @@ jobs:
|
||||
uses: actions/cache/restore@v4
|
||||
id: cache-llvm-build
|
||||
with:
|
||||
key: llvm-build-19-windows-${{ matrix.goarch }}-v1
|
||||
key: llvm-build-19-windows-v1
|
||||
path: llvm-build
|
||||
- name: Build LLVM
|
||||
if: steps.cache-llvm-build.outputs.cache-hit != 'true'
|
||||
@@ -102,7 +94,7 @@ jobs:
|
||||
- name: Cache Go cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: go-cache-windows-${{ matrix.goarch }}-v1-${{ hashFiles('go.mod') }}
|
||||
key: go-cache-windows-v1-${{ hashFiles('go.mod') }}
|
||||
path: |
|
||||
C:/Users/runneradmin/AppData/Local/go-build
|
||||
C:/Users/runneradmin/go/pkg/mod
|
||||
@@ -113,7 +105,6 @@ jobs:
|
||||
run: make -j3 gen-device
|
||||
- name: Test TinyGo
|
||||
shell: bash
|
||||
if: matrix.goarch == 'amd64' # skip on ARM64 to speed up build
|
||||
run: make test GOTESTFLAGS="-only-current-os"
|
||||
- name: Build TinyGo release tarball
|
||||
shell: bash
|
||||
@@ -121,7 +112,7 @@ jobs:
|
||||
- name: Make release artifact
|
||||
shell: bash
|
||||
working-directory: build/release
|
||||
run: 7z -tzip a tinygo${{ steps.version.outputs.version }}.windows-${{ matrix.goarch }}.zip tinygo
|
||||
run: 7z -tzip a tinygo${{ steps.version.outputs.version }}.windows-amd64.zip tinygo
|
||||
- name: Publish release artifact
|
||||
# Note: this release artifact is double-zipped, see:
|
||||
# https://github.com/actions/upload-artifact/issues/39
|
||||
@@ -131,8 +122,8 @@ jobs:
|
||||
# We're doing the former here, to keep artifact uploads fast.
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: windows-${{ matrix.goarch }}-double-zipped-${{ steps.version.outputs.version }}
|
||||
path: build/release/tinygo${{ steps.version.outputs.version }}.windows-${{ matrix.goarch }}.zip
|
||||
name: windows-amd64-double-zipped-${{ steps.version.outputs.version }}
|
||||
path: build/release/tinygo${{ steps.version.outputs.version }}.windows-amd64.zip
|
||||
|
||||
smoke-test-windows:
|
||||
runs-on: windows-2022
|
||||
|
||||
@@ -1,55 +1,3 @@
|
||||
0.39.0
|
||||
---
|
||||
* **general**
|
||||
- all: add Go 1.25 support
|
||||
- net: update to latest tinygo net package
|
||||
- docs: clarify build verification step for macOS users
|
||||
- Add flag to skip Renesas SVD builds
|
||||
* **build**
|
||||
- Makefile: install missing dlmalloc files
|
||||
- flash: add -o flag support to save built binary (Fixes #4937) (#4942)
|
||||
- fix: update version of clang to 17 to accommodate latest Go 1.25 docker base image
|
||||
* **ci**
|
||||
- chore: update all CI builds to test Go 1.25 release
|
||||
- fix: disable test-newest since CircleCI seems unable to download due to rate-limits on Dockerhub
|
||||
- ci: rename some jobs to avoid churn on every Go/LLVM version bump
|
||||
- ci: make the goroutines test less racy
|
||||
- tests: de-flake goroutines test
|
||||
* **compiler**
|
||||
- compiler: implement internal/abi.Escape
|
||||
* **main**
|
||||
- main: show the compiler error (if any) for `tinygo test -c`
|
||||
- chore: correct GOOS=js name in error messages for WASM
|
||||
* **machine**
|
||||
- machine: add international keys
|
||||
- machine: remove some unnecessary "// peripherals:" comments
|
||||
- machine: add I2C pin comments
|
||||
- machine: standardize I2C errors with "i2c:" prefix
|
||||
- machine: make I2C usable in the simulator
|
||||
- fix: add SPI and I2C to teensy 4.1 (#4943)
|
||||
- `rp2`: use the correct channel mask for rp2350 ADC; hold lock during read (#4938)
|
||||
- `rp2`: disable digital input for analog inputs
|
||||
* **runtime**
|
||||
- runtime: ensure time.Sleep(d) sleeps at least d
|
||||
- runtime: stub out weak pointer support
|
||||
- runtime: implement dummy AddCleanup
|
||||
- runtime: enable multi-core scheduler for rp2350
|
||||
- `internal/task`: use -stack-size flag when starting a new thread
|
||||
- `internal/task`: add SA_RESTART flag to GC interrupts
|
||||
- `internal/task`: a few small correctness fixes
|
||||
- `internal/gclayout`: make gclayout values constants
|
||||
- darwin: add threading support and use it by default
|
||||
* **standard library**
|
||||
- `sync`: implement sync.Swap
|
||||
- `reflect`: implement Method.IsExported
|
||||
* **testing**
|
||||
- testing: stub out testing.B.Loop
|
||||
* **targets**
|
||||
- `stm32`: add support for the STM32L031G6U6
|
||||
- add metro-rp2350 board definition (#4989)
|
||||
- `rp2040/rp2350`: set the default stack size to 8k for rp2040/rp2350 based boards where this was not already the case
|
||||
|
||||
|
||||
0.38.0
|
||||
---
|
||||
* **general**
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
// Version of TinyGo.
|
||||
// Update this value before release of new version of software.
|
||||
const version = "0.39.0"
|
||||
const version = "0.39.0-dev"
|
||||
|
||||
// Return TinyGo version, either in the form 0.30.0 or as a development version
|
||||
// (like 0.30.0-dev-abcd012).
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["2e8a:0003"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["badger2040_w", "cyw43439"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=1020K"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["2e8a:0003"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["badger2040"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=1020K"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["2e8a:1023"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["challenger_rp2040"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=8M"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["239a:80f1"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["feather_rp2040"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=8192K"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["2e8a:0003"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["gopher_badge"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=8M"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"build-tags": ["macropad_rp2040"],
|
||||
"default-stack-size": 8192,
|
||||
"serial-port": ["239a:8107"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=8M"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["2341:005e"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["nano_rp2040", "ninafw", "ninafw_machine_init"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=16M"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["239a:80f7"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["qtpy_rp2040"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=8192K"
|
||||
|
||||
@@ -6,6 +6,5 @@
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=4M"
|
||||
],
|
||||
"serial-port": ["2e8a:000f"],
|
||||
"default-stack-size": 8192
|
||||
"serial-port": ["2e8a:000f"]
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["239a:8109"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["trinkey_qt2040"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=8192K"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["2e8a:0003"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["tufty2040"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=1020K"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["2e8a:0003"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["waveshare_rp2040_tiny"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=1020K"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["2e8a:0003"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["waveshare_rp2040_zero"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=1020K"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rp2040"
|
||||
],
|
||||
"serial-port": ["2e8a:000a"],
|
||||
"default-stack-size": 8192,
|
||||
"build-tags": ["xiao_rp2040"],
|
||||
"ldflags": [
|
||||
"--defsym=__flash_size=1020K"
|
||||
|
||||
Reference in New Issue
Block a user