mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
commit
c46a970595
3 changed files with 35 additions and 7 deletions
19
.github/workflows/ci.yml
vendored
Normal file
19
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: CI
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
native_ext: ['', '1']
|
||||||
|
os: [ubuntu-latest, macOS-latest]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Install bats
|
||||||
|
run: git clone --depth 1 https://github.com/sstephenson/bats.git
|
||||||
|
- name: Run tests
|
||||||
|
env:
|
||||||
|
RBENV_NATIVE_EXT: ${{ matrix.native_ext }}
|
||||||
|
run: PATH="./bats/bin:$PATH" test/run
|
16
.github/workflows/release.yml
vendored
Normal file
16
.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: Release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags: 'v*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
homebrew:
|
||||||
|
name: Bump Homebrew formula
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: mislav/bump-homebrew-formula-action@v1.4
|
||||||
|
if: "!contains(github.ref, '-')" # skip prereleases
|
||||||
|
with:
|
||||||
|
formula-name: rbenv
|
||||||
|
env:
|
||||||
|
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
|
|
@ -1,7 +0,0 @@
|
||||||
sudo: false
|
|
||||||
install: git clone --depth 1 https://github.com/sstephenson/bats.git
|
|
||||||
script: PATH="./bats/bin:$PATH" test/run
|
|
||||||
language: c
|
|
||||||
env:
|
|
||||||
- RBENV_NATIVE_EXT=
|
|
||||||
- RBENV_NATIVE_EXT=1
|
|
Loading…
Reference in a new issue