Skip to content

Commit

Permalink
update ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Jan 19, 2022
1 parent 328ca57 commit 4f203f4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ jobs:
fail-fast: false
matrix:
entry:
- { build: "pr-1726-wasm32-unknown-emscripten-full", builder: "wasm32-unknown-emscripten" }
- { build: "pr-1726-wasm32-unknown-emscripten-minimal", builder: "wasm32-unknown-emscripten" }
- { build: "pr-1726-wasm32-unknown-wasi-full", builder: "wasm32-unknown-wasi" }
- { build: "pr-1726-wasm32-unknown-wasi-full-js", builder: "wasm32-unknown-wasi" }
- { build: "pr-1726-wasm32-unknown-wasi-minimal", builder: "wasm32-unknown-wasi" }
- { build: "pr-1726-wasm32-unknown-wasi-minimal-js", builder: "wasm32-unknown-wasi" }
- { build: "head-wasm32-unknown-emscripten-full", builder: "wasm32-unknown-emscripten" }
- { build: "head-wasm32-unknown-emscripten-minimal", builder: "wasm32-unknown-emscripten" }
- { build: "head-wasm32-unknown-wasi-full", builder: "wasm32-unknown-wasi" }
- { build: "head-wasm32-unknown-wasi-full-js", builder: "wasm32-unknown-wasi" }
- { build: "head-wasm32-unknown-wasi-minimal", builder: "wasm32-unknown-wasi" }
- { build: "head-wasm32-unknown-wasi-minimal-js", builder: "wasm32-unknown-wasi" }
needs: [build-builder-image]
runs-on: ubuntu-20.04
steps:
Expand All @@ -90,8 +90,8 @@ jobs:
fail-fast: false
matrix:
entry:
- { package: ruby-wasm-emscripten, build: "pr-1726-wasm32-unknown-emscripten-full", builder: wasm32-unknown-emscripten }
- { package: ruby-wasm-wasi, build: "pr-1726-wasm32-unknown-wasi-full-js", builder: wasm32-unknown-wasi }
- { package: ruby-wasm-emscripten, build: "head-wasm32-unknown-emscripten-full", builder: wasm32-unknown-emscripten }
- { package: ruby-wasm-wasi, build: "head-wasm32-unknown-wasi-full-js", builder: wasm32-unknown-wasi }
needs: [build-ruby-release]
runs-on: ubuntu-20.04
steps:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ Then, you can build by `rake` command. See `rake -T` for more information.
```console
# Build only a specific combination of ruby version, flavor, and target
# Output is in the `rubies` directory
$ rake build:pr-1726-wasm32-unknown-wasi-full-js
$ rake build:head-wasm32-unknown-wasi-full-js
# Build all combinations of flavor, and target for a specific ruby version
$ rake build:pr-1726
$ rake build:head
# Build npm packages and required ruby
$ rake pkg:all
```
Expand Down
22 changes: 11 additions & 11 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ end

BUILD_SOURCES = [
{
name: "pr-1726",
name: "head",
type: "github",
repo: "kateinoigakukun/ruby",
rev: "337b9df76e2850292c31983d2c992f768fc4cc5e",
repo: "ruby/ruby",
rev: "e7249294fb85953c3caa0af1eb9d3627a4827a11",
},
]

Expand All @@ -31,8 +31,8 @@ BUILD_PARAMS = [
]

PACKAGES = [
{ name: "ruby-wasm-emscripten", build: "pr-1726-wasm32-unknown-emscripten-full" },
{ name: "ruby-wasm-wasi", build: "pr-1726-wasm32-unknown-wasi-full-js" },
{ name: "ruby-wasm-emscripten", build: "head-wasm32-unknown-emscripten-full" },
{ name: "ruby-wasm-wasi", build: "head-wasm32-unknown-wasi-full-js" },
]

class BuildPlan
Expand Down Expand Up @@ -202,12 +202,12 @@ end

RELASE_ARTIFACTS = [
# ruby builds
"pr-1726-wasm32-unknown-emscripten-full",
"pr-1726-wasm32-unknown-emscripten-minimal",
"pr-1726-wasm32-unknown-wasi-full",
"pr-1726-wasm32-unknown-wasi-full-js",
"pr-1726-wasm32-unknown-wasi-minimal",
"pr-1726-wasm32-unknown-wasi-minimal-js",
"head-wasm32-unknown-emscripten-full",
"head-wasm32-unknown-emscripten-minimal",
"head-wasm32-unknown-wasi-full",
"head-wasm32-unknown-wasi-full-js",
"head-wasm32-unknown-wasi-minimal",
"head-wasm32-unknown-wasi-minimal-js",
]

task :publish, [:run_id, :tag] do |t, args|
Expand Down

0 comments on commit 4f203f4

Please sign in to comment.