Skip to content

Commit

Permalink
CI: Switch to GA
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Aug 2, 2021
1 parent 54b77e5 commit 98a46e7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 33 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: |
docker pull openturns/archlinux-module
docker run -e MAKEFLAGS='-j2' -v `pwd`:/io openturns/archlinux-module /io/.ci_support/run_docker_build.sh `id -u` `id -g`
- name: Upload
if: ${{ github.ref == 'refs/heads/master' }}
run: |
git clone --depth 1 https://${{ secrets.GH_TOKEN }}@github.com/openturns/openturns.github.io.git /tmp/io
mkdir -p /tmp/io/otagrum/master
cp -r html/* /tmp/io/otagrum/master
cd /tmp/io
touch .nojekyll
git config user.email "[email protected]"
git config user.name "GitHub Actions"
git add -A .
git commit -a -m "GitHub Actions build ${GITHUB_REPOSITORY} ${GITHUB_RUN_ID}"
git push --quiet origin master > /dev/null 2>&1
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. image:: https://travis-ci.org/openturns/otagrum.svg?branch=master
:target: https://travis-ci.org/openturns/otagrum
.. image:: https://github.com/openturns/otagrum/actions/workflows/build.yml/badge.svg?branch=master
:target: https://github.com/openturns/otagrum/actions/workflows/build.yml

otagrum Module
==============
Expand Down

0 comments on commit 98a46e7

Please sign in to comment.