Skip to content
Snippets Groups Projects
Commit 4ba8d1da authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

add debian-based build

parent 34cbdee0
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ stages: # List of stages for jobs, and their order of execution
- dnf install -y libxcb-devel libfontenc-devel libXaw-devel libXcomposite-devel libXcursor-devel libXdmcp-devel libXft-devel libXtst-devel libXinerama-devel libxkbfile-devel libXrandr-devel libXres-devel libXScrnSaver-devel libXvMC-devel xorg-x11-xtrans-devel xcb-util-wm-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-renderutil-devel libXdamage-devel libXxf86vm-devel libXv-devel xkeyboard-config-devel xcb-util-devel libuuid-devel
- pip install conan
build:f34-conan-xorg:
build:fedora:
extends: .f34-ogl
stage: build
script:
......@@ -36,29 +36,13 @@ build:f34-conan-xorg:
artifacts:
paths:
- build/fggl/
- build/tests/
test:f34-fallback-wayland:
extends: .f34-ogl
stage: test
needs: [ "build:f34-conan-xorg" ]
build:debian:
image: debian:stable
before_script:
- apt update && apt install -y build-essential python3
- pip install conan
script:
- cd build && ./tests/testfggl/fggl_test
dependencies:
- build:f34-conan-xorg
#unit-test-job: # This job runs in the test stage.
# stage: test # It only starts when the job in the build stage completes successfully.
# before_script:
# - apk update && apk --update add build-base g++ libstdc++ cmake extra-cmake-modules bash mesa-gl wayland-dev wayland-protocols
# script:
# - mkdir build && cd build
# - cmake .. && make # TODO cache build from previous step
# - ./tests/testfggl/fggl_test
- cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
- cmake --build build
#lint-test-job: # This job also runs in the test stage.
# stage: test # It can run at the same time as unit-test-job (in parallel).
# script:
# - echo "Linting code... This will take about 10 seconds."
# - sleep 10
# - echo "No lint issues found."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment