Multiple changes.
- Add build manifests for SourceHut. - Update README destination links. - Fix manifest for prerelease gem. - Reopen env handles when #clear is successful. - Fix #each when there is only one key. - Always use io_vec lengths when creating new strings. - Hook for rdoc generation. - Rename #open to #reopen, don't alias it. - Add a Rollback exception for upcoming transaction block work FossilOrigin-Name: d6ddedc51b0ac67f395d5749aa3e6adbeebdaf2843c6402ace757b0afffc2be9
This commit is contained in:
parent
5ed44e52fa
commit
770a931d77
11 changed files with 108 additions and 33 deletions
26
.builds/freebsd.yml
Normal file
26
.builds/freebsd.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
image: freebsd/12.x
|
||||
shell: true
|
||||
packages:
|
||||
- ruby
|
||||
sources:
|
||||
- hg+https://hg.sr.ht/~mahlon/ruby-mdbx
|
||||
tasks:
|
||||
- env-setup: |
|
||||
sudo sh -c 'echo "DEFAULT_VERSIONS+=ruby=2.7" > /etc/make.conf'
|
||||
sudo portsnap fetch extract
|
||||
cd /usr/ports/devel/ruby-gems
|
||||
sudo make -DBATCH install
|
||||
cd /usr/ports/databases/mdbx
|
||||
sudo make -DBATCH install
|
||||
- project-setup: |
|
||||
cd ~/ruby-mdbx
|
||||
sudo gem install -Ng
|
||||
- test: |
|
||||
export LC_ALL=en_US.UTF-8
|
||||
cd ~/ruby-mdbx
|
||||
rake test
|
||||
triggers:
|
||||
- action: email
|
||||
condition: always
|
||||
to: mahlon@martini.nu
|
||||
|
||||
29
.builds/ubuntu.yml
Normal file
29
.builds/ubuntu.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
image: ubuntu/lts
|
||||
shell: true
|
||||
packages:
|
||||
- ruby
|
||||
- ruby-dev
|
||||
sources:
|
||||
- hg+https://hg.sr.ht/~mahlon/ruby-mdbx
|
||||
tasks:
|
||||
- env-setup: |
|
||||
git clone https://github.com/erthink/libmdbx.git
|
||||
cd libmdbx
|
||||
make dist
|
||||
cd dist
|
||||
make
|
||||
sudo make install
|
||||
- project-setup: |
|
||||
cd ~/ruby-mdbx
|
||||
sudo gem install -Ng
|
||||
- test: |
|
||||
sudo locale-gen en_US.UTF-8
|
||||
sudo update-locale LANG=en_US.UTF-8
|
||||
export LC_ALL=en_US.UTF-8
|
||||
cd ~/ruby-mdbx
|
||||
rake test
|
||||
triggers:
|
||||
- action: email
|
||||
condition: always
|
||||
to: mahlon@martini.nu
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue