Skip to content

gh: switch from -m32 to modern --host=i686-linux-gnu #1280

gh: switch from -m32 to modern --host=i686-linux-gnu

gh: switch from -m32 to modern --host=i686-linux-gnu #1280

Workflow file for this run

name: ODA
on:
push:
branches:
- master
- smoke/*
- work/oda
# cancel older workflow runs
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
oda:
runs-on: ubuntu-22.04
#runs-on: self-hosted
timeout-minutes: 50
strategy:
fail-fast: true
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
submodules: recursive
- name: setup-python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.10'
- uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
# see version at https://www.opendesign.com/guestfiles/oda_file_converter
- run: |
deb=ODAFileConverter_QT6_lnxX64_8.3dll_26.7.deb
wget https://www.opendesign.com/guestfiles/get?filename=$deb
mv get\?filename\=$deb $deb
sudo add-apt-repository -y ppa:linuxuprising/libpng12
sudo apt update
sudo apt-get -y install libpng12-0 qt5dxcb-plugin
sudo dpkg -i $deb
cd /usr/lib/x86_64-linux-gnu
sudo ln -s libxcb-util.so.1 libxcb-util.so.0
- run: |
export QT_DEBUG_PLUGINS=1
ODAFileConverter test/test-data . ACAD2000 DXF 0 0 example_2000.dwg || true
test -f example_2000.dxf || (cat example_2000.dxf.err; exit 1)
echo ODAFileConverter works ok
export QT_DEBUG_PLUGINS=
- uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1.2.18
with:
create-symlink: true
key: ${{ github.job }}
- run: sh autogen.sh
- run: CFLAGS=-O0 ./configure --disable-bindings
- run: make -j
- run: make -j check -C programs TESTS="dxf.test json.test"
# this makes it green, but we want it red
#continue-on-error: true