Skip to content

gh-actions: fixes

gh-actions: fixes #53

Workflow file for this run

name: run-tests
on: [push, pull_request]
jobs:
build-deploy:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-13, windows-latest]
steps:
- uses: actions/checkout@v4
- name: make run
run: make run CFLAGS=-fPIC
- name: lipo
if: startsWith(matrix.os, 'macos')
run: |
lipo -info ./lib/k08.a
md5sum ./lib/k08.a
- name: make valgrind
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install valgrind
make valgrind CFLAGS=-fPIC
- name: Upload
uses: actions/upload-artifact@v4
with:
name: compiled-${{ matrix.os }}
path: .