Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce warnings on CI from GitHub Actions #5083

Merged
merged 7 commits into from
Oct 21, 2022

Conversation

alexcrichton
Copy link
Member

Looks like they're deprecating the node12 runtime for actions and are recommending node16 instead. Turns out basically every single action we have and reference uses node12, so this updates most of them to versions that use node16. I think we have some bytecodealliace-hosted actions to update as well but this should be the main crop.

I also updated the mdbook version here since I think the old version no longer compiles on newest rustc.

Each github actions run has a lot of warnings about using node12 so this
upgrades our repository to using node16. I'm hoping no other changes are
needed and I suspect other actions we're using are on node12 and will
need further updates, but this should help pin down what's remaining.
@alexcrichton
Copy link
Member Author

/bench_x64

just to make sure I didn't accidentally break that

@jlb6740
Copy link
Contributor

jlb6740 commented Oct 20, 2022

Shows pct_change on x64 for the patch if merged compared to current head for main.

Pct_change is based on clocktick event cycles where the benchmarks are run with Sightglass.
A negative pct_change means clockticks are expected to be reduced for the benchmark,
for that phase, and by that factor, if the patch were merged (i.e. negative is good).

wasm arch phase pct_change
benchmarks/blake3-scalar x86_64 Compilation -0.012127
benchmarks/blake3-scalar x86_64 Execution -0.010829
benchmarks/blake3-scalar x86_64 Instantiation 0.027698
benchmarks/blake3-simd x86_64 Compilation -0.042843
benchmarks/blake3-simd x86_64 Execution -0.024410
benchmarks/blake3-simd x86_64 Instantiation -0.031473
benchmarks/bz2 x86_64 Compilation 0.066788
benchmarks/bz2 x86_64 Execution -0.014114
benchmarks/bz2 x86_64 Instantiation 0.103184
benchmarks/intgemm-simd x86_64 Compilation 0.009038
benchmarks/intgemm-simd x86_64 Execution 0.000570
benchmarks/intgemm-simd x86_64 Instantiation 0.078861
benchmarks/meshoptimizer x86_64 Compilation -0.009809
benchmarks/meshoptimizer x86_64 Execution -0.000447
benchmarks/meshoptimizer x86_64 Instantiation 0.031447
benchmarks/noop x86_64 Compilation 0.109733
benchmarks/noop x86_64 Execution 0.122381
benchmarks/noop x86_64 Instantiation 0.363593
benchmarks/pulldown-cmark x86_64 Compilation 0.051124
benchmarks/pulldown-cmark x86_64 Execution 0.002248
benchmarks/pulldown-cmark x86_64 Instantiation -0.037873
benchmarks/shootout-ackermann x86_64 Compilation 0.001864
benchmarks/shootout-ackermann x86_64 Execution 0.012810
benchmarks/shootout-ackermann x86_64 Instantiation -0.001546
benchmarks/shootout-base64 x86_64 Compilation -0.038773
benchmarks/shootout-base64 x86_64 Execution -0.002060
benchmarks/shootout-base64 x86_64 Instantiation -0.004072
benchmarks/shootout-ctype x86_64 Compilation -0.037073
benchmarks/shootout-ctype x86_64 Execution 0.000650
benchmarks/shootout-ctype x86_64 Instantiation 0.024045
benchmarks/shootout-ed25519 x86_64 Compilation -0.037624
benchmarks/shootout-ed25519 x86_64 Execution -0.003197
benchmarks/shootout-ed25519 x86_64 Instantiation 0.037693
benchmarks/shootout-fib2 x86_64 Compilation -0.012440
benchmarks/shootout-fib2 x86_64 Execution -0.000675
benchmarks/shootout-fib2 x86_64 Instantiation 0.057687
benchmarks/shootout-gimli x86_64 Compilation 0.037594
benchmarks/shootout-gimli x86_64 Execution 0.012224
benchmarks/shootout-gimli x86_64 Instantiation 0.158867
benchmarks/shootout-heapsort x86_64 Compilation 0.041628
benchmarks/shootout-heapsort x86_64 Execution 0.000867
benchmarks/shootout-heapsort x86_64 Instantiation 0.051147
benchmarks/shootout-keccak x86_64 Compilation 0.011709
benchmarks/shootout-keccak x86_64 Execution 0.014818
benchmarks/shootout-keccak x86_64 Instantiation 0.125432
benchmarks/shootout-matrix x86_64 Compilation 0.026068
benchmarks/shootout-matrix x86_64 Execution 0.001732
benchmarks/shootout-matrix x86_64 Instantiation -0.177518
benchmarks/shootout-memmove x86_64 Compilation 0.075646
benchmarks/shootout-memmove x86_64 Execution -0.000024
benchmarks/shootout-memmove x86_64 Instantiation -0.013732
benchmarks/shootout-minicsv x86_64 Compilation -0.026388
benchmarks/shootout-minicsv x86_64 Execution 0.000834
benchmarks/shootout-minicsv x86_64 Instantiation -0.069532
benchmarks/shootout-nestedloop x86_64 Compilation 0.019115
benchmarks/shootout-nestedloop x86_64 Execution 0.002938
benchmarks/shootout-nestedloop x86_64 Instantiation 0.059953
benchmarks/shootout-random x86_64 Compilation -0.023274
benchmarks/shootout-random x86_64 Execution -0.001599
benchmarks/shootout-random x86_64 Instantiation 0.022926
benchmarks/shootout-ratelimit x86_64 Compilation -0.022205
benchmarks/shootout-ratelimit x86_64 Execution -0.021619
benchmarks/shootout-ratelimit x86_64 Instantiation 0.088178
benchmarks/shootout-seqhash x86_64 Compilation -0.027066
benchmarks/shootout-seqhash x86_64 Execution 0.000832
benchmarks/shootout-seqhash x86_64 Instantiation 0.463848
benchmarks/shootout-sieve x86_64 Compilation -0.001799
benchmarks/shootout-sieve x86_64 Execution -0.000350
benchmarks/shootout-sieve x86_64 Instantiation 0.017726
benchmarks/shootout-switch x86_64 Compilation 0.106857
benchmarks/shootout-switch x86_64 Execution 0.003315
benchmarks/shootout-switch x86_64 Instantiation 0.052170
benchmarks/shootout-xblabla20 x86_64 Compilation 0.001982
benchmarks/shootout-xblabla20 x86_64 Execution 0.000784
benchmarks/shootout-xblabla20 x86_64 Instantiation 0.045030
benchmarks/shootout-xchacha20 x86_64 Compilation -0.016506
benchmarks/shootout-xchacha20 x86_64 Execution -0.000445
benchmarks/shootout-xchacha20 x86_64 Instantiation 0.038729
benchmarks/spidermonkey x86_64 Compilation 0.030892
benchmarks/spidermonkey x86_64 Execution 0.002408
benchmarks/spidermonkey x86_64 Instantiation 0.008173

@alexcrichton alexcrichton merged commit 7669a96 into bytecodealliance:main Oct 21, 2022
@alexcrichton alexcrichton deleted the fix-ci-warnings branch October 21, 2022 04:11
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Oct 26, 2022
* Upgrade our github actions to "node16"

Each github actions run has a lot of warnings about using node12 so this
upgrades our repository to using node16. I'm hoping no other changes are
needed and I suspect other actions we're using are on node12 and will
need further updates, but this should help pin down what's remaining.

* Update `actions/checkout` workflow to `v3`

* Update to `actions/cache@v3`

* Update to `actions/upload-artifact@v3`

* Drop usage of `actions-rs/toolchain`

* Update to `actions/setup-python@v4`

* Update mdbook version
alexcrichton added a commit that referenced this pull request Oct 26, 2022
* Fix push tag workflow (#5082)

This commit fixes the `push-tag.yml` workflow to work with the new
`Cargo.toml` manifest since workspace inheritance was added. This
additionally fixes some warnings coming up on CI about our usage of
deprecated features on github actions.

* Reduce warnings on CI from GitHub Actions (#5083)

* Upgrade our github actions to "node16"

Each github actions run has a lot of warnings about using node12 so this
upgrades our repository to using node16. I'm hoping no other changes are
needed and I suspect other actions we're using are on node12 and will
need further updates, but this should help pin down what's remaining.

* Update `actions/checkout` workflow to `v3`

* Update to `actions/cache@v3`

* Update to `actions/upload-artifact@v3`

* Drop usage of `actions-rs/toolchain`

* Update to `actions/setup-python@v4`

* Update mdbook version

* Add `package-lock.json` for `github-release` action (#5091)

A local github action we have has been broken for about a month now
meaning that the `dev` tag isn't getting updated or getting new
releases. This appears to be due to the publication of new versions of
these dependencies which are running into issues using one another. I
think I've figured out versions that work and have added a
`package-lock.json` to ensure we keep using the same versions.

* More fixes for publish action (#5110)

Looks like #5091 wasn't enough and some of the APIs needed updating with
changes made in the meantime. I've updated the action here and
additionally made a separate change where the release isn't continually
created and deleted but instead left alone and only the tag is updated.
This should work for the `dev` release and avoids deleting/recreating on
each PR, sending out notifications for new releases.

* Add missing `Win32_Foundation` feature

This is necessary for the `wasmtime-runtime` crate to compile on Windows.

* Add a note for the 2.0.1 release

* Remove rayon dependency of cranelift-isle (#5101)

Using rayon adds a lot of dependencies to Cranelift. The total
unparallelized time the code that uses rayon takes is less than half a
second and it runs at compile time, so there is pretty much no benefit
to parallelizing it.

* Add a note about rayon removal

Co-authored-by: Christopher Serr <[email protected]>
Co-authored-by: bjorn3 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants