Skip to content

bazel: Experiment with fixing compile_commands.json so include of GLI… #99

bazel: Experiment with fixing compile_commands.json so include of GLI…

bazel: Experiment with fixing compile_commands.json so include of GLI… #99

Workflow file for this run

name: C/C++ and Bazel CI
on: [push, pull_request]
# Not using 'inputs' here, since we take no inputs at this time -- just the 'github' context.
# Note: on type workflow_run commit message would be github.event.workflow_run.head_commit.message
# https://stackoverflow.com/a/63619526
# Available data: https://stackoverflow.com/a/75715955
run-name: "@${{github.actor}} CI on ${{ github.ref_name }} - ${{ github.event.head_commit.message }}"
jobs:
cpp:
runs-on: ubuntu-latest
# needs: [jobs, we, want, to, run, first]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, which is the CWD for
# the rest of the steps
- uses: actions/checkout@v4
with:
submodules: true
- name: install deps with prebuilt SDL (no bazel)
run: sudo apt-get update && sudo apt-get install libsdl1.2-dev libsdl-gfx1.2-dev libgmp3-dev autoconf automake libgl1-mesa-dev libglu1-mesa-dev
- name: install glict
run: cd vendor/github.com/ivucica/glict/glict && ./autogen.sh && ./configure && make && sudo make install
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
#- name: make distcheck
# run: make distcheck
bazel:
uses: ./.github/workflows/ci-bazel.yml

Check failure on line 40 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci.yml" -> "./.github/workflows/ci-bazel.yml" (source branch with sha:5d3e74d9df0977decd59d0c67fd0f6780a9183dd) : every step must define a `uses` or `run` key
secrets:
BUILDBUDDY_ORG_API_KEY: ${{ secrets.BUILDBUDDY_ORG_API_KEY }}