Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9ebd50d

Browse filesBrowse files
authored
Merge pull request #1052 from nevkontakte/master
Prepare for a new GopherJS release.
2 parents 0d7b417 + f71ef33 commit 9ebd50d
Copy full SHA for 9ebd50d

File tree

2 files changed

+20
-19
lines changed
Filter options

2 files changed

+20
-19
lines changed

‎circle.yml

Copy file name to clipboardExpand all lines: circle.yml
+19-18Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
# CircleCI configuration for GopherJS.
2-
#
2+
#
33
# This configuration has one build_and_test workflow designed to run on all commits
44
# and pull requests. It consists of three jobs:
5-
#
5+
#
66
# - build: Builds and runs GopherJS unit tests, as well as lits, smoke tests, etc.
77
# This job is designed to provide quickest feedback on the most important
88
# functionality. It should not include anything heavyweight and should be kept
99
# under 2-3 minutes of runtime.
10-
#
10+
#
1111
# - gopherjs_tests: Runs standard library and GopherJS package tests using GopherJS
1212
# *itself*. This is the most comprehensive test suite we have and it is sharded
1313
# into 4 parallel instances for faster execution.
14-
#
14+
#
1515
# - gorepo_tests: Runs language tests from the Go compiler test suite. The objective
1616
# of these tests is to ensure conformance of GopherJS to the upstream Go to the
1717
# highest degree possible, considering differences in the runtime.
18-
#
18+
#
1919
# If all tests passed, it is reasonably to assume that the version is more or less
2020
# bug-free (although as of summer 2021 our test coverage is not ideal).
21-
#
21+
#
2222
# For convenience of upgrades, NVM, Node.js and Go versions are specified as
2323
# parameters at the top of the config. Increasing the version and ensuring that the
2424
# workflow passes is sufficient to verify GopherJS compatibility with that version.
25-
#
25+
#
2626
# Versions of Node modules GopherJS depends on are specified in package.json and can
2727
# be changed there (remember to run `npm install` to update the lock file).
2828

@@ -39,16 +39,16 @@ workflows:
3939
jobs:
4040
- build
4141
- gopherjs_tests:
42-
requires:
42+
requires:
4343
- build
4444
- gorepo_tests:
45-
requires:
45+
requires:
4646
- build
4747

4848
parameters:
4949
go_version:
5050
type: string
51-
default: "1.16.5"
51+
default: "1.16.7"
5252
nvm_version:
5353
type: string
5454
default: "0.38.0"
@@ -70,14 +70,14 @@ jobs:
7070
- run:
7171
name: Check gofmt
7272
command: diff -u <(echo -n) <(gofmt -d .)
73-
- run:
73+
- run:
7474
name: Check go vet
7575
command: |
76-
set -e
76+
set -e
7777
# Go package in root directory.
78-
go vet .
78+
go vet .
7979
# All subdirectories except "doc", "tests", "node*".
80-
for d in */; do echo ./$d...; done | grep -v ./doc | grep -v ./tests | grep -v ./node | xargs go vet
80+
for d in */; do echo ./$d...; done | grep -v ./doc | grep -v ./tests | grep -v ./node | xargs go vet
8181
- run:
8282
name: Check natives build tags
8383
command: diff -u <(echo -n) <(go list ./compiler/natives/src/...) # All those packages should have // +build js.
@@ -113,7 +113,7 @@ jobs:
113113
- run:
114114
name: TodoMVC in Go Modules mode
115115
command: |
116-
set -e
116+
set -e
117117
export GO111MODULE=on
118118
export GOPATH=/tmp/gomod
119119
mkdir -p $GOPATH/src
@@ -126,7 +126,7 @@ jobs:
126126
- run:
127127
name: Compare GOPATH and Go Modules output
128128
command: diff -u <(sed 's/todomvc_gomod.js.map/todomvc_ignored.js.map/' /tmp/todomvc_gomod.js) <(sed 's/todomvc_gopath.js.map/todomvc_ignored.js.map/' /tmp/todomvc_gopath.js)
129-
129+
130130
gopherjs_tests:
131131
executor: gopherjs
132132
parallelism: 4
@@ -148,8 +148,9 @@ jobs:
148148
set -e
149149
# Convert test output into junit format for CircleCI.
150150
mkdir -p ~/test-reports/
151-
go-junit-report --full-class-name < /tmp/test-gopherjs.txt > ~/test-reports/gopherjs.xml
151+
go-junit-report --full-class-name < /tmp/test-gopherjs.txt > ~/test-reports/gopherjs-${CIRCLE_NODE_INDEX}.xml
152152
exit "$status"
153+
no_output_timeout: "1h" # Packages like math/big take a while to run all tests.
153154
- store_test_results:
154155
path: ~/test-reports/
155156

@@ -203,7 +204,7 @@ commands:
203204
echo 'export SOURCE_MAP_SUPPORT=true' >> $BASH_ENV
204205
# Make nodejs able to require installed modules from any working path.
205206
echo export "NODE_PATH='$(npm root)'" >> "${BASH_ENV}"
206-
- run:
207+
- run:
207208
name: Install required Go packages
208209
command: go mod download -x
209210
install_gopherjs:

‎compiler/version_check.go

Copy file name to clipboardExpand all lines: compiler/version_check.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
// Version is the GopherJS compiler version string.
15-
const Version = "1.16.3+go1.16.5"
15+
const Version = "1.16.4+go1.16.7"
1616

1717
// GoVersion is the current Go 1.x version that GopherJS is compatible with.
1818
const GoVersion = 16

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.