diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 000000000..3a32d859c --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,21 @@ +name: GitHub Actions CI +on: [push] +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@master + + - name: Set up Ruby + uses: actions/setup-ruby@v1 + with: + version: '>=2.3' + + - name: Install RubyGems + run: | + gem install bundler + bundle install --jobs 4 --retry 3 + + - name: Generate site + run: bundle exec rake yard build diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 341be1b05..000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,19 +0,0 @@ -trigger: -- master - -pool: - vmImage: 'Ubuntu-16.04' - -steps: -- task: UseRubyVersion@0 - inputs: - versionSpec: '>= 2.3' - -- script: | - gem install bundler - bundle install --retry=3 --jobs=4 - displayName: 'bundle install' - -- script: | - bundle exec rake yard build - displayName: 'bundle exec rake yard build' \ No newline at end of file