Skip to content

Update tests.yml

Update tests.yml #55

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Panquesito7/[email protected]
with:
version: dev
directory: .
add-to-path: true
extra-command: version
- name: Compile Tests
run: |
julec -t .
clang++ -O0 --std=c++17 -Wno-everything -o ./tests.out ./dist/ir.cpp
git update-index --add --chmod=-x ./tests.out
chmod +x ./tests.out
- name: Run Tests
run: |
./tests.out
- name: Cleanup
run: |
rm -f tests.out