fix build
This commit is contained in:
parent
ad24866ba4
commit
97b448d6f4
1 changed files with 19 additions and 7 deletions
18
.github/workflows/book.yml
vendored
18
.github/workflows/book.yml
vendored
|
|
@ -17,9 +17,21 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: ruby/setup-ruby@v1
|
- name: Install Ruby
|
||||||
with:
|
env:
|
||||||
ruby-version: '3.4'
|
CC: clang
|
||||||
|
run: |
|
||||||
|
url="https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.4.tar.gz"
|
||||||
|
prefix=`pwd`/rubies/ruby-3.4
|
||||||
|
mkdir rubies
|
||||||
|
mkdir ruby_src
|
||||||
|
curl -sSL $url | tar -xz
|
||||||
|
cd ruby-3.4.4
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
../configure --without-shared --prefix=$prefix
|
||||||
|
make install
|
||||||
|
echo $prefix/bin >> $GITHUB_PATH
|
||||||
- name: Install latest mdbook
|
- name: Install latest mdbook
|
||||||
run: |
|
run: |
|
||||||
tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')
|
tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue