Skip to content

ci: minimal CI testing setup #19

ci: minimal CI testing setup

ci: minimal CI testing setup #19

Workflow file for this run

name: USDT CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: look around
run: pwd; ls -la; ls -la tests
- name: Makefile contents
run: echo "WTF MAKEFILE CONTENTS:"; cat tests/Makefile; echo "WTF MAKEFILE END"
- name: wtf
run: make -C tests list2
- name: wtf2
run: cd tests && make list2
- name: Build (static)
run: make V=1 SHARED=0 -C tests -j$(nproc) build
- name: Build (shared)
run: make V=1 SHARED=1 -C tests -j$(nproc) build
- name: Test (static)
run: make V=1 SHARED=0 -C tests test
- name: Test (shared)
run: make V=1 SHARED=1 -C tests test