Skip to content

[Question][Hw2] Issue in github action script #20

@h2oche

Description

@h2oche

I think there is some problem in environment setting of Github Actions.
If I type make test in K-cloud server, my implementation works correctly.
However, it fails in Github Actions and the failed log is as below:

make[1]: Entering directory '/home/runner/work/cs592-2021-fall-hw2-h2oche/cs592-2021-fall-hw2-h2oche/test'
make[1]: opt: Command not found
Makefile:11: recipe for target 'example2.ll' failed
make[1]: *** [example2.ll] Error 127
make: *** [test] Error 2
make[1]: Leaving directory '/home/runner/work/cs592-2021-fall-hw2-h2oche/cs592-2021-fall-hw2-h2oche/test'
Makefile:12: recipe for target 'test' failed

It seems that opt command in a test script doesn't work in Github Actions' runner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions