Skip to content

ludvigch is testing out DDC in multiple environments πŸš€ #2

ludvigch is testing out DDC in multiple environments πŸš€

ludvigch is testing out DDC in multiple environments πŸš€ #2

Workflow file for this run

name: DDC multi-env
run-name: ${{ github.actor }} is testing out DDC in multiple environments πŸš€
on: workflow_dispatch
jobs:
DDC:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Debug output
run: |
which cc
ls -la /usr/bin/cc
ls -la /etc/alternatives/cc
gcc --print-file-name=crtbegin.o
- name: Setup config
run: cp ./.github/workflows/config/${{matrix.os}}.h ./cproc/config.h
- name: Setup env
run: make deps
- name: Clean up
run: make clean
- name: Perform DDC
run: make
- name: Self-regeneration comparison
run: cmp /usr/local/bin/cproc ./stage0/cproc
- name: DDC comparison
run: cmp ./stage0/cproc ./stage2/cproc