Workflow changes #2
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: Test | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- ".github/workflows/**" | |
- "lib/**" | |
- "cxlc.py" | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
compiler: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare | |
run: | | |
mkdir PYENV | |
cp examples/readfile.cxl PYENV | |
cp -r lib PYENV | |
cp cxlc.py PYENV | |
cd PYENV | |
- name: Compile with cxlc | |
run: python3 cxlc.py readfile.cxl | |
- name: Finalize | |
run: python3 cxlc.py --moo |