Skip to content

Commit

Permalink
Make cwd the root of this directory
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidchu committed Jan 7, 2024
1 parent e836671 commit 2d8986f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux_compiler_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
python-version: '3.10'
- name: Compile
run: |
cd compiler
# For some reason, if we change to the compiler directory, Python complains.
for x in fibonacci helloworld math_ops nested_if sum_three
do
python lol.py -i examples/$x.lol -o results
gcc results/$x-*.c
python compiler/lol.py -i compiler/examples/$x.lol -o compiler/results
gcc compiler/results/$x-*.c
./a.out
done

0 comments on commit 2d8986f

Please sign in to comment.