cash/2023-09.txt: GitHub, FPS, cash dues #333
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Continuous integration | |
on: | |
push: | |
pull_request: | |
jobs: | |
check: | |
name: Run all checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo make build-dep | |
- name: Run CI tests | |
run: make test | |
deploy: | |
name: Deploy to github pages | |
needs: check | |
if: github.ref == 'refs/heads/master' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo make build-dep | |
sudo apt-get install -y gnuplot | |
- name: Create report pages | |
run: | | |
make pages | |
make pages/stats.pdf | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: pages | |
single-commit: true | |
notify: | |
name: Notify on failure | |
needs: check | |
if: failure() && github.ref == 'refs/heads/master' | |
runs-on: ubuntu-latest | |
steps: | |
- name: irc push | |
uses: vmiklos/notify-irc@bfd6f632b683859f6cd074e2ee9db68bef204f7d | |
with: | |
server: "irc.libera.chat" | |
channel: "#dimsumlabs" | |
notice: true | |
nickname: github-ci | |
message: | | |
CI Failed - ${{ github.repository }} ${{ github.event.ref }} |