cOMS/.github/workflows/main.yml
2022-04-10 16:32:18 +02:00

27 lines
550 B
YAML

name: CI/CD
on: [push]
jobs:
code-tests:
strategy:
matrix:
platform: [x86, x64]
os: [ubuntu-latest]
runs-on: '${{ matrix.os }}'
name: 'Test: ${{ matrix.os }} / ${{ matrix.platform }}'
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 1
- name: Set up GCC
uses: ./
with:
platform: '${{ matrix.platform }}'
cc: 1
- name: Run tests
run: |
chmod +x ./tests/test.sh
./tests/test.sh