From 2d8986f1fbc3c638a711e2766cc852112d1e6e1b Mon Sep 17 00:00:00 2001 From: David Chu Date: Sun, 7 Jan 2024 12:46:12 -0500 Subject: [PATCH] Make cwd the root of this directory --- .github/workflows/linux_compiler_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux_compiler_test.yml b/.github/workflows/linux_compiler_test.yml index 2ef7e02..d100fce 100644 --- a/.github/workflows/linux_compiler_test.yml +++ b/.github/workflows/linux_compiler_test.yml @@ -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