Skip to content

Add GitHub Actions workflows #4

Add GitHub Actions workflows

Add GitHub Actions workflows #4

Workflow file for this run

name: Build
on:
push:
paths:
- 'src/**'
- 'include/**'
- 'Makefile'
- '*.mk'
- '.github/workflows/build.yml'
jobs:
build:
name: Build library
runs-on: ubuntu-latest
env:
CC: gcc
XCHANGE: ../xchange
REDISX: ../redisx
steps:
- name: Check out smax-clib
uses: actions/checkout@v4
with:
path: smax-clib

Check failure on line 26 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 26
- name: Check out xchange dependency
uses: actions/checkout@v4
with:
repository: Smithsonian/xchange
path: xchange
- name: Check out RedisX dependency
uses: actions/checkout@v4
with:
repository: Smithsonian/redisx
path: redisx
- name: Build static library
run: make -C smax-clib static
- name: Build xchange dependency
run: make -C xchange shared
- name: Build xchange dependency
run: make -C redisx shared
- name: Build shared library
run: make -C smax-clib shared