Skip to content

Commit

Permalink
Add GitHub CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Sep 26, 2023
1 parent bf9d122 commit c84b701
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Regression

on:
# TODO: Remove. This is just for testing. It should be workflow_dispatch only.
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:

jobs:
main:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt update
sudo apt install -y gcc-9 gcc-10 gcc-11 gcc-12
- name: Generate current prompts
run: python3 tests/regression.py --platform ubuntu --generate

- name: Commit
run: |
git config user.name github-actions
git config user.email [email protected]
git add tests/.regression
git switch -c bot/regression/ubuntu
git commit -m "[bot] Generate current state of CWhy prompts"
git push origin bot/regression/ubuntu

0 comments on commit c84b701

Please sign in to comment.