Darren Tucker 03fe6d2904 Update checkout action to current version.
checkout v2 uses node.js v12 which is has been recently deprecated by
github so switch to using the one on the main branch.
2022-11-08 12:54:43 +01:00

21 lines
433 B
YAML

name: linux_ci
on: [push, pull_request]
jobs:
build-native:
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
compiler: [clang, gcc]
runs-on: ${{ matrix.os }}
continue-on-error: false
env:
CC: ${{ matrix.compiler }}
ARCH: native
name: ${{ matrix.compiler }} - ${{ matrix.os }}
steps:
- uses: actions/checkout@main
- name: Run CI script
run: ./scripts/test