24 lines
392 B
YAML
24 lines
392 B
YAML
name: C/C++ CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: configure
|
|
run: ./configure
|
|
- name: make
|
|
run: make
|
|
- name: make a test file
|
|
run: echo "test file" >> test.txt
|
|
- name: test the executable
|
|
run: ./fileinfo test.txt
|