Skip to content

Commit

Permalink
Try setting up automation
Browse files Browse the repository at this point in the history
  • Loading branch information
SiegeLord committed Jul 16, 2023
1 parent bfbd384 commit c551724
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 24 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tests
on: [push, pull_request]
jobs:
ubuntu_test:
name: Ubuntu tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Setup
run: |
sudo apt-get install python3-pip --force-yes
sudo pip3 install toml
sudo apt-get install gnuplot
- name: Tests
run: |
./cargo_util.py --test
./gnuplot/target/debug/examples/example1 --no-show
./gnuplot/target/debug/examples/example2 --no-show
./gnuplot/target/debug/examples/example3 --no-show
./gnuplot/target/debug/examples/example4 --no-show
35 changes: 35 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Update docs
on:
push:
branches: [master]
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup
run: |
sudo apt-get install python3-pip --force-yes
sudo pip3 install toml
sudo apt-get install gnuplot
- name: Build
run: |
./cargo_util.py --doc
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: doc/target/doc
target-folder: doc
token: ${{ secrets.RUSTGNUPLOT_PAT }}
branch: master
repository-name: SiegeLord/RustGnuplot
commit-message: Automatic update from RustGnuplot
clean: true
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

0 comments on commit c551724

Please sign in to comment.