Skip to content

Remove hardcoded imgui refs #840

Remove hardcoded imgui refs

Remove hardcoded imgui refs #840

Workflow file for this run

name: "Test source code"
on:
workflow_dispatch:
push:
pull_request:
jobs:
CheckAutoGeneratedCode:
name: 'Check if aut-generated code is up-to-date'
runs-on: ubuntu-latest
steps:
- name: install luajit
run: |
sudo apt-get install -y luajit
- name: Checkout out source code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: Re-generate code with Make
run: |
make generate
- name: Check if code was up-to-date
run: |
echo -e "If you see this failing, it means that your have made changes in generator's code
and the wrapper needs to be re-generated OR you've edited some of the generated
files directly. To fix it, run \`make cimgui\` and/or \`make cimplot\`"
git diff --exit-code
RunGoTests:
name: 'Run go unittests (${{ matrix.os }})'
needs: CheckAutoGeneratedCode
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Set up LibGL, Mesa & X11 libraries
if: startsWith(matrix.os,'ubuntu')
run: |
sudo apt-get --allow-releaseinfo-change update
sudo apt-get install -y libgtk-3-dev libasound2-dev libxxf86vm-dev
- name: Set up Go environment
uses: actions/setup-go@v5
with:
go-version: '1.23.x'
- name: Checkout out source code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: Run Go test
run: go test -race -v ./...