Skip to content

fix(ci): fix self-hosted compilation #715

fix(ci): fix self-hosted compilation

fix(ci): fix self-hosted compilation #715

name: Compiler Tests
on:
push:
paths: ['lib/**.ri', 'rivetc/**.py', 'tests/**']
pull_request:
paths: ['lib/**.ri', 'rivetc/**.py', 'tests/**']
types: [opened, synchronize]
jobs:
ubuntu-clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run passing tests
run: |
python3 rivetc -C clang -t tests/valid
- name: Run failing tests
run: |
python3 tests/run_invalid_tests.py
- name: Run bootstrap failing tests
run: |
python3 tests/run_b_invalid_tests.py
ubuntu-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run passing tests
run: |
python3 rivetc -C gcc -t tests/valid
- name: Run failing tests
run: |
python3 tests/run_invalid_tests.py
- name: Run bootstrap failing tests
run: |
python3 tests/run_b_invalid_tests.py
# windows-gcc:
# runs-on: windows-2019
# steps:
# - uses: actions/checkout@v4
# - name: Setup Python3
# uses: actions/setup-python@v4
# with:
# python-version: '3.x'
# - name: Run passing tests
# run: |
# python3 rivetc -t tests/valid
# - name: Run failing tests
# run: |
# python3 tests/run_invalid_tests.py