Skip to content

Commit

Permalink
ci: minimal CI testing setup
Browse files Browse the repository at this point in the history
Add static and shared build and runtime testing.
  • Loading branch information
anakryiko committed Nov 19, 2024
1 parent 6b242f8 commit 9732c1c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: USDT CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
ref: main

- name: look around
run: pwd; ls -la; ls -la tests

- name: wtf
run: make -C tests list

- name: wtf 2
run: make -C tests test-arg_nums

- name: Build (static)
run: make SHARED=0 -C tests -j$(nproc) build

- name: Build (shared)
run: make SHARED=1 -C tests -j$(nproc) build

- name: Test (static)
run: make SHARED=0 -C tests test

- name: Test (shared)
run: make SHARED=1 -C tests test

0 comments on commit 9732c1c

Please sign in to comment.