cOMS/.github/workflows/main.yml
2022-04-18 22:39:00 +02:00

27 lines
580 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@main
with:
fetch-depth: 1
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
version: latest
platform: '${{ matrix.platform }}'
- name: Run tests
run: |
chmod +x ./tests/test.sh
./tests/test.sh